All models
Ideogram
Image
Available
Ideogram Character Remix
Image generation by ideogram/character-remix
Text to Image
From 60 credits (≈ ₹60.00) per request.
Parameters
| Parameter | Type | Description |
|---|---|---|
promptRequired |
string | The prompt to remix the image with (Max length: 5000 characters) max length 5000 |
image_urlRequired |
string | The image URL to remix (File URL after upload, not file content; Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB) format: uri |
reference_image_urlsRequired |
array<string> | A set of images to use as character references. Currently only 1 image is supported, rest will be ignored. (maximum total size 10MB across all character references). The images should be in JPEG, PNG or WebP format (File URL after upload, not file content; Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB) |
rendering_speed |
string | The rendering speed to use. Default value: "BALANCED" one of: "TURBO", "BALANCED", "QUALITY" · default "BALANCED" |
style |
string | The style type to generate with. Default value: "AUTO" one of: "AUTO", "REALISTIC", "FICTION" · default "AUTO" |
expand_prompt |
boolean | Determine if MagicPrompt should be used in generating the request or not. Default value: true (Boolean value (true/false)) |
image_size |
string | Output image size. one of: "square", "square_hd", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9" · default "square_hd" |
num_images |
string | Number of images to generate. one of: "1", "2", "3", "4" · default "1" |
seed |
integer | Seed for the random number generator |
strength |
number | Strength of the input image in the remix Default value: 0.8 (Min: 0.1, Max: 1, Step: 0.1) (step: 0.1) min 0.1 · max 1 · default 0.8 |
negative_prompt |
string | Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt. Default value: "" (Max length: 500 characters) max length 500 |
image_urls |
array<string> | A set of images to use as style references (maximum total size 10MB across all style references). The images should be in JPEG, PNG or WebP format (File URL after upload, not file content; Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB) |
reference_mask_urls |
string | A set of masks to apply to the character references. Currently only 1 mask is supported, rest will be ignored. (maximum total size 10MB across all character references). The masks should be in JPEG, PNG or WebP format (File URL after upload, not file content; Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB) |
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-character-remix",
"input": {
"prompt": "A cinematic shot of a lighthouse at dawn",
"image_url": "https://example.com/input.png",
"reference_image_urls": null,
"rendering_speed": "BALANCED",
"style": "AUTO",
"image_size": "square_hd",
"num_images": "1",
"strength": 0.8
},
"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-character-remix",
"input": {
"prompt": "A cinematic shot of a lighthouse at dawn",
"image_url": "https://example.com/input.png",
"reference_image_urls": None,
"rendering_speed": "BALANCED",
"style": "AUTO",
"image_size": "square_hd",
"num_images": "1",
"strength": 0.8,
},
"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-character-remix",
"input": {
"prompt": "A cinematic shot of a lighthouse at dawn",
"image_url": "https://example.com/input.png",
"reference_image_urls": null,
"rendering_speed": "BALANCED",
"style": "AUTO",
"image_size": "square_hd",
"num_images": "1",
"strength": 0.8
},
"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-character-remix",
"input": {
"prompt": "A cinematic shot of a lighthouse at dawn",
"image_url": "https://example.com/input.png",
"reference_image_urls": null,
"rendering_speed": "BALANCED",
"style": "AUTO",
"image_size": "square_hd",
"num_images": "1",
"strength": 0.8
}
}
Response
{
"id": "6f1c…",
"object": "task",
"model": "ideogram-character-remix",
"status": "succeeded",
"output": {
"files": [
{
"url": "https://…signed…",
"mime": "…",
"size": 0
}
]
},
"estimated_cost": "…",
"charged": "…"
}