# Instant Nudification

Nudify transforms an input image by detecting a female subject and generating a realistic nude version of that person. The system keeps the original pose, lighting, and proportions so the result looks natural and consistent with the source photo.

The process is asynchronous. The client sends a POST request with the imageUrl of the person. The API accepts the request and returns a jobId instead of the final output.

You can retrieve the completed result either through a webhook callback or by checking the job status endpoint. When the job finishes, the response includes the generated nude image based on the submitted photo.

### Model

```
nudifyme/img/instant
```

### Pricing

```
0.15 / image
```

### Create Instant Nudification Job

Use this [endpoint](/api/generate.md#post-generate) to start a new instant nudification generation job.

<table><thead><tr><th width="225">Input</th><th>Description</th></tr></thead><tbody><tr><td>input.imageUrl</td><td>The target image that's going to nudify.</td></tr></tbody></table>

#### Example Request

```javascript
const response = await fetch(
  'https://api.deepixels.co/v1/generate',
  {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'x-api-key': 'YOUR_API_KEY'
    },
    body: JSON.stringify({
      model: 'nudifyme/img/instant',
      input: {
        imageUrl: 'https://images.pexels.com/photos/16459707/pexels-photo-16459707.jpeg',
      },
      webhook: 'YOUR_WEBHOOK_URL'
    })
  }
);

const data = await response.json();

console.log(data);
```

#### Job Creation Response

```json
{
  "jobId": "cd5167b9-a7cf-47e9-ad88-8fcb4032daf0",
  "status": "created"
}
```

### Getting Final Results

When processing is complete, the final job result can be received in either of the following ways:

* By sending a GET request to the job status [endpoint](/api/generate.md#get-get)
* Automatically via webhook if a webhook URL was provided during job creation

Both methods return the same response payload.

```json
{
  "jobId": "5a9d0273-5e16-488b-824f-d2bcef8632d9",
  "model": "nudifyme/img/instant",
  "status": "completed",
  "input": {
    "imageUrl": "https://images.pexels.com/photos/16459707/pexels-photo-16459707.jpeg"
  },
  "webhook": "https://webhook.site/4294bc5b-5621-4a84-85fe-1ce875495c2d",
  "output": {
    "imageUrl": [
      "https://s3.media.deepixels.co/gprod/jobs/5a9d0273-5e16-488b-824f-d2bcef8632d9.jpg"
    ]
  },
  "date": 1771002364129
}
```

<table><thead><tr><th width="225">Input</th><th>Description</th></tr></thead><tbody><tr><td>output.imageUrl</td><td>Array of generated image URLs. Even if only one image is generated, it is returned as an array to support multi-output models in the future.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nudify.me/generations/instant-nudification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
