Ideogram 4.6 API-Referenz
Native 4K-Plakatschrift, transparente Freisteller und präzise Bearbeitungen
Mit einem einzigen PopNow-API-Schlüssel rufst du Ideogram 4.6 aus deinem eigenen Code auf. Hier findest du die Modell-IDs, jedes Eingabefeld, die Kosten pro Anfrage in USD und eine Anfrage, die du direkt ins Terminal kopieren kannst.
Die Parameterbeschreibungen stammen aus dem Eingabeschema des Modells und sind nur auf Englisch verfügbar.
Auf einen Blick
- Hersteller
- Ideogram
- Ergebnis
- Bild
- Ab
- $0.0096 USD pro Bild
- Typische Dauer
- etwa 28 s
Die Preise werden in USD angezeigt und von deinem PopNow-Guthaben abgebucht. Bei Annahme wird der Höchstbetrag reserviert, nach Abschluss der tatsächliche Verbrauch abgerechnet und der Rest freigegeben. Fehlgeschlagene Tasks kosten nichts. Ein genaues Angebot erhältst du vorab über POST /api/v1/jobs/quote.
Bild erstellen
ideogram/4.6/text-to-image
Preis
| Option | USD |
|---|---|
quality = very_low, resolution = 1k | $0.0096 pro Bild |
quality = very_low, resolution = 2k | $0.0096 pro Bild |
quality = low, resolution = 1k | $0.036 pro Bild |
quality = low, resolution = 2k | $0.036 pro Bild |
quality = low, resolution = 4k | $0.072 pro Bild |
quality = medium, resolution = 1k | $0.072 pro Bild |
quality = medium, resolution = 2k | $0.072 pro Bild |
quality = high, resolution = 1k | $0.12 pro Bild |
quality = high, resolution = 2k | $0.12 pro Bild |
quality = medium, resolution = 4k | $0.144 pro Bild |
quality = very_low, resolution = 4k | $0.144 pro Bild |
quality = high, resolution = 4k | $0.24 pro Bild |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
promptPflicht | string | — | bis zu 10.000 Zeichen | Text instructions describing the image to generate or the edit to apply. |
enable_prompt_expansionOptional | boolean | false | — | When true, automatically expands a brief prompt before image generation. |
backgroundOptional | string | opaque | opaque, transparent | Canvas background mode: opaque or transparent RGBA. |
aspect_ratioOptional | string | 1:1 | 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16 | Target width-to-height framing ratio for the output image. |
resolutionOptional | string | 1k | 1k, 2k, 4k | Output resolution tier controlling pixel dimensions and per-image billing. |
qualityOptional | string | medium | very_low, low, medium, high | Rendering quality tier controlling visual refinement and per-image rate. |
Beispielanfrage
Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask?wait=60" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "ideogram/4.6/text-to-image",
"input": {
"prompt": "A cozy reading nook beside a rain-streaked window, warm lamp light, a sleeping orange cat on a knitted blanket, soft film grain",
"quality": "medium",
"resolution": "1k"
}
}'Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Bild bearbeiten
ideogram/4.6/edit
Preis
| Option | USD |
|---|---|
quality = very_low, resolution = 1k | $0.0096 pro Bild |
quality = very_low, resolution = 2k | $0.0096 pro Bild |
quality = low, resolution = 1k | $0.036 pro Bild |
quality = low, resolution = 2k | $0.036 pro Bild |
quality = low, resolution = 4k | $0.072 pro Bild |
quality = medium, resolution = 1k | $0.072 pro Bild |
quality = medium, resolution = 2k | $0.072 pro Bild |
quality = medium, resolution = 4k | $0.24 pro Bild |
quality = very_low, resolution = 4k | $0.24 pro Bild |
quality = high, resolution = 1k | $0.264 pro Bild |
quality = high, resolution = 2k | $0.264 pro Bild |
quality = high, resolution = 4k | $0.72 pro Bild |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
image_urlPflicht | string (uri) | — | — | Primary source image URL to modify. |
promptPflicht | string | — | bis zu 10.000 Zeichen | Text instructions describing the image to generate or the edit to apply. |
edit_precisionOptional | string | regular | regular, high | Controls how closely edits preserve the source image geometry (regular or high). |
aspect_ratioOptional | string | — | 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16 | Target width-to-height framing ratio for the output image. |
resolutionOptional | string | 1k | 1k, 2k, 4k | Output resolution tier controlling pixel dimensions and per-image billing. |
qualityOptional | string | medium | very_low, low, medium, high | Rendering quality tier controlling visual refinement and per-image rate. |
reference_image_urlsOptional | array<string (uri)> | — | bis zu 3 Einträge | Optional visual reference image URLs guiding palette, subject, or layout. |
mask_urlOptional | string (uri) | — | — | Optional binary mask image URL restricting edits to the masked area. |
Beispielanfrage
Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.
Das Beispiel nutzt in image_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "ideogram/4.6/edit",
"input": {
"prompt": "Change the orange jacket to deep forest green and add soft golden-hour light; keep the face, pose and background unchanged",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"quality": "medium",
"resolution": "1k"
}
}'Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
