Nexus
All models
Ideogram Image Available

Ideogram V3 Remix

Use this endpoint to create a new image remix generation task.

Text to Image

From 60 credits (≈ ₹60.00) per request.

Parameters

ParameterTypeDescription
promptRequired string The prompt to remix the image with. Maximum length: 5000 characters.
max length 5000
image_urlRequired string The image URL to remix. - Please provide the URL of the uploaded file, not raw file content - Accepted types: `image/jpeg`, `image/png`, `image/webp` - Max size: 10.0MB
format: uri
rendering_speed string The rendering speed to use. - `TURBO`: Turbo - `BALANCED`: Balanced - `QUALITY`: Quality
one of: "TURBO", "BALANCED", "QUALITY"
style string The style type to generate with. - `AUTO`: Auto - `GENERAL`: General - `REALISTIC`: Realistic - `DESIGN`: Design
one of: "AUTO", "GENERAL", "REALISTIC", "DESIGN"
expand_prompt boolean Determine if MagicPrompt should be used in generating the request or not. - Boolean value: `true` / `false`
image_size string The resolution of the generated image. - `square`: Square - `square_hd`: Square HD - `portrait_4_3`: Portrait 3:4 - `portrait_16_9`: Portrait 9:16 - `landscape_4_3`: Landscape 4:3 - `landscape_16_9`: Landscape 16:9
one of: "square", "square_hd", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9"
num_images string Number of images to generate. - `1`: 1 image - `2`: 2 images - `3`: 3 images - `4`: 4 images
one of: "1", "2", "3", "4"
seed integer Seed for the random number generator.
strength number Strength of the input image in the remix. - Minimum: `0.01` - Maximum: `1` - Step: `0.01`
min 0.01 · max 1
negative_prompt string Description of what to exclude from the generated image. If the positive prompt conflicts with the negative prompt, the positive prompt takes precedence. Maximum length: 5000 characters.
max length 5000

What you get back

Files arrive in output.files[] as private links that expire, with their type and size.

Use it from your code

# 1. Create the task
curl https://nexus.promptscenes.in/api/v1/tasks \
  -H "Authorization: Bearer $NEXUS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "model": "ideogram-v3-remix",
    "input": {
        "prompt": "A cinematic shot of a lighthouse at dawn",
        "image_url": "https://example.com/input.png",
        "rendering_speed": "TURBO",
        "style": "AUTO",
        "image_size": "square",
        "num_images": "1"
    },
    "callback_url": "https://your-app.com/webhooks/nexus"
}'

# 2. Poll for the result
curl https://nexus.promptscenes.in/api/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $NEXUS_API_KEY"
import os, time, uuid, requests

API = "https://nexus.promptscenes.in/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['NEXUS_API_KEY']}"}

task = requests.post(
    f"{API}/tasks",
    headers={**HEADERS, "Idempotency-Key": str(uuid.uuid4())},
    json={
        "model": "ideogram-v3-remix",
        "input": {
            "prompt": "A cinematic shot of a lighthouse at dawn",
            "image_url": "https://example.com/input.png",
            "rendering_speed": "TURBO",
            "style": "AUTO",
            "image_size": "square",
            "num_images": "1",
        },
        "callback_url": "https://your-app.com/webhooks/nexus",
    },
).json()

while task["status"] not in ("succeeded", "failed", "cancelled"):
    time.sleep(3)
    task = requests.get(f"{API}/tasks/{task['id']}", headers=HEADERS).json()

print(task["status"], task.get("output"))
const API = "https://nexus.promptscenes.in/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.NEXUS_API_KEY}`,
  "Content-Type": "application/json",
};

let task = await fetch(`${API}/tasks`, {
  method: "POST",
  headers: { ...headers, "Idempotency-Key": crypto.randomUUID() },
  body: JSON.stringify({
      "model": "ideogram-v3-remix",
      "input": {
          "prompt": "A cinematic shot of a lighthouse at dawn",
          "image_url": "https://example.com/input.png",
          "rendering_speed": "TURBO",
          "style": "AUTO",
          "image_size": "square",
          "num_images": "1"
      },
      "callback_url": "https://your-app.com/webhooks/nexus"
  }),
}).then((r) => r.json());

while (!["succeeded", "failed", "cancelled"].includes(task.status)) {
  await new Promise((r) => setTimeout(r, 3000));
  task = await fetch(`${API}/tasks/${task.id}`, { headers }).then((r) => r.json());
}
console.log(task.status, task.output);

Request

{
    "model": "ideogram-v3-remix",
    "input": {
        "prompt": "A cinematic shot of a lighthouse at dawn",
        "image_url": "https://example.com/input.png",
        "rendering_speed": "TURBO",
        "style": "AUTO",
        "image_size": "square",
        "num_images": "1"
    }
}

Response

{
    "id": "6f1c…",
    "object": "task",
    "model": "ideogram-v3-remix",
    "status": "succeeded",
    "output": {
        "files": [
            {
                "url": "https://…signed…",
                "mime": "…",
                "size": 0
            }
        ]
    },
    "estimated_cost": "…",
    "charged": "…"
}