
Modell:
Preis: from 60 credits per request · ≈ $0.03Hohe Stabilität, mit detaillierten Nutzungsprotokollen auf der APIAny-Plattform.
Referenzbilder verwenden
Aus bedeutet Text-zu-Bild. Aktiviert kannst du bis zu 16 Referenzbilder hochladen oder einfügen.
Output size. Use auto, a W:H ratio, or a valid WIDTHxHEIGHT value; explicit pixels are preserved and must match the selected resolution tier.
Output resolution tier. It is independent from rendering quality.
Rendering effort. Auto lets the selected provider choose an appropriate tier.
Number of images to generate. Credits and upstream cost scale with n.
Background handling. Transparent output requires a compatible route.
Requested image output format when supported by the selected provider.
USD-Schätzung ≈ $0.045: Stufe $999: 1 USD = 2,000 Credits.

Echte Bilder und Videos unserer Modelle. Vorschau und Vorlagen starten keine Generierung.
Tatsächliches Generierungsmodell: gpt-image-2.5-sunburst

{
"model": "gpt-image-2.5-sunburst",
"prompt": "Edit the supplied image: keep the exact cobalt-blue perfume bottle, cap, silhouette, blank surface and limestone plinth unchanged. Replace only the background with a softly defocused sunlit Mediterranean coast and turquoise sea. Match natural lighting and reflections while preserving product identity and framing. No text, letters, numbers, labels, branding, logos, watermark, interface, captions or graphic overlays anywhere in the image. One coherent scene, no collage.",
"size": "16:9",
"resolution": "2K",
"quality": "medium",
"n": 1,
"background": "opaque",
"image_urls": [
"https://s.apiany.ai/web-static/model-examples/v1/2026-09-20/e01-blue-glass-bottle/image.webp"
]
}Verlauf
Lokal in diesem Browser gespeichert
0 läuft · 0 abgeschlossen
Abrechnungsregeln
Authentifizierung
Jede Anfrage muss im Authorization Header ein Bearer Token enthalten. Erstelle deinen API Key in der Konsole.
Authorization: Bearer YOUR_API_KEYhttps://apiany.ai/v1/images/generationsRequest-Parameter
| Parameter | Typ | Erforderlich | Hinweise |
|---|---|---|---|
model | String | Erforderlich | Die Modellkennung für den Aufruf; verwende die ID dieses Modells. |
prompt | String | Erforderlich | Textprompt, der beschreibt, was du generieren möchtest. |
size | String | Optional | Output size. Use auto, a W:H ratio, or a valid WIDTHxHEIGHT value; explicit pixels are preserved and must match the selected resolution tier. · Optionen: auto, 1:1, 1:2, 2:1, 1:3, 3:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 9:21 · Standard: auto |
resolution | String | Optional | Output resolution tier. It is independent from rendering quality. · Optionen: 1K, 2K, 4K · Standard: 1K |
quality | String | Optional | Rendering effort. Auto lets the selected provider choose an appropriate tier. · Optionen: auto, low, medium, high, xhigh, max · Standard: auto |
n | Zahl | Optional | Number of images to generate. Credits and upstream cost scale with n. · Bereich: 1–10 · Standard: 1 |
background | String | Optional | Background handling. Transparent output requires a compatible route. · Optionen: auto, opaque, transparent · Standard: auto |
output_format | String | Optional | Requested image output format when supported by the selected provider. · Optionen: png, jpeg, webp · Standard: png |
output_compression | Zahl | Optional | Compression level for JPEG or WebP output. · Bereich: 0–100 · Standard: 100 |
callback_url | String | Optional | Optionale Callback-Adresse, die nach Abschluss eines asynchronen Tasks aufgerufen wird. |
Request-Beispiel
curl "https://apiany.ai/v1/images/generations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2.5-sunburst",
"prompt": "Edit the supplied image: keep the exact cobalt-blue perfume bottle, cap, silhouette, blank surface and limestone plinth unchanged. Replace only the background with a softly defocused sunlit Mediterranean coast and turquoise sea. Match natural lighting and reflections while preserving product identity and framing. No text, letters, numbers, labels, branding, logos, watermark, interface, captions or graphic overlays anywhere in the image. One coherent scene, no collage.",
"size": "auto",
"resolution": "1K",
"quality": "auto",
"n": 1
}'Response-Beispiel
{
"task_id": "task_abc123",
"status": "pending",
"poll_url": "/v1/tasks/task_abc123",
"request_id": "req_abc123",
"credits": {
"reserved": 1000
}
}Dieser Endpunkt ist asynchron: Nach dem Request wird sofort task_id zurückgegeben. Frage den Task-Status-Endpunkt per Polling ab, bis status succeeded ist, und lies danach result. Generierte Medienlinks sind 24 Stunden gültig.