Ideogram Vector 1.0 API-Referenz
SVG-Vektoren aus Prompt oder Bild, mit sauberer Schrift
Mit einem einzigen PopNow-API-Schlüssel rufst du Ideogram Vector 1.0 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.132 USD pro Bild
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.
SVG-Generator
ideogram/vector-1/text-to-image
Preis
| Option | USD |
|---|---|
quality = low, with_references = false | $0.174 pro Bild |
quality = low, with_references = true | $0.174 pro Bild |
quality = medium, with_references = false | $0.216 pro Bild |
quality = medium, with_references = true | $0.216 pro Bild |
quality = high, with_references = false | $0.264 pro Bild |
quality = high, with_references = true | $0.432 pro Bild |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
promptPflicht | string | — | bis zu 9.500 Zeichen | What to draw as an SVG: subject, style, colours and any short text to letter. |
qualityOptional | string | medium | low, medium, high | Generation quality tier. Higher tiers take longer and cost more. |
aspect_ratioOptional | string | 1:1 | 1:1, 1:4, 1:3, 1:2, 9:16, 10:16, 2:3, 3:4, 4:5, 5:4, 4:3, 3:2, 16:10, 16:9, … (+3) | Shape of the SVG canvas. |
reference_image_urlsOptional | array<string> | — | bis zu 5 Einträge | Optional style references, up to five images of up to 10 MB each. The first one counts most. |
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" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "ideogram/vector-1/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"
}
}'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 zu SVG
ideogram/vector-1/edit
Preis
| Option | USD |
|---|---|
Standard | $0.132 pro Bild |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
image_urlPflicht | string | — | — | The picture to turn into an SVG: JPEG, PNG or WebP, up to 50 MB. |
detail_levelOptional | string | detailed | detailed, simple | detailed keeps finer shapes; simple merges them into fewer, larger shapes. Both cost the same. |
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/vector-1/edit",
"input": {
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp"
}
}'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"
