API GPT Immagine 2
API delle immaginiHOTGPT Image 2 API is built for production image generation workflows that need prompt-driven creation, reference image editing, and predictable API payloads. Use it to create campaign visuals, product shots, social creatives, and design mockups without leaving the SdanceAI generation flow.
L'integrazione attuale espone le varianti da Testo a Immagine e da Immagine a Immagine con fasce di prezzo da 1K, 2K e 4K, oltre a rapporti d'aspetto comuni per output quadrati, verticali, orizzontali e in formato ritratto.
Il costo più basso parte da $0.015/image
1K: 3 crediti - Testo in immagine - Fisso per generazione
2K: 5 crediti - Testo in immagine - Fisso per generazione
4K: 8 crediti - Testo in immagine - Fisso per generazione
Le stime in USD utilizzano $0,005/credito con il miglior piano annuale. La fatturazione finale segue la risoluzione selezionata e la variante del modello.
Campi principali della richiesta
Use a compact payload for prompt, source images, aspect ratio, resolution, callback, and safety settings.
{
"model": "gpt-image-2-text-to-image",
"input": {
"prompt": "A cinematic night city poster with neon reflections on a rainy street.",
"aspect_ratio": "auto"
}
}Usa Text to Image per la generazione
Il playground, la richiesta di campione, i campi della richiesta e i prezzi in questa pagina seguono il tipo di modello selezionato.
Visualizza la documentazione dettagliata dell'APIOpen the full API documentation for endpoints, authentication, task polling, and payload details. /models/gpt-image-2.md
promptstringText prompt. Required, maximum 20,000 characters.aspect_ratioenumThe aspect ratio of the generated image is set to auto by default. (auto, 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 3:1, 1:3, 21:9, 9:21)resolutionenumImage resolution: Note: Images with a 1:1 aspect ratio cannot be converted to 4K images. Images with the aspect ratio set to "auto" or without a specified aspect ratio parameter will only be converted to 1K images; otherwise, the task will fail to create. (1K, 2K, 4K)Cosa aggiunge l'API GPT Image 2 al tuo flusso di lavoro con le immagini
La pagina segue la stessa struttura API-first del riferimento: testa il modello, comprendi i campi, poi passa all'integrazione.
Creazione di immagini da testo
Trasforma prompt strutturati in immagini pronte per la produzione per poster, annunci, miniature, concept art e scene di prodotto.
Modifica dell'immagine di riferimento
Usa input di immagini per preservare il contesto del soggetto mentre cambi stile, sfondo, layout, illuminazione o presentazione del prodotto.
Livelli di risoluzione
Seleziona i livelli di output 1K, 2K o 4K per bilanciare il costo delle iterazioni, la qualità dell'anteprima e la nitidezza dell'asset finale.
API-ready payloads
Lavora con ID modello, URL di callback, testo del prompt, URL delle immagini di input, rapporti d'aspetto e campi di risoluzione in un'unica richiesta prevedibile.
Da test prompt a richiesta API immagine
Un percorso diretto per i team che vogliono convalidare la qualità delle immagini prima di generare il wiring in un'app o in una pipeline di contenuti.
1. Scegli una modalità
Seleziona Testo in Immagine per nuovi contenuti visivi o Immagine in Immagine quando desideri modifiche guidate da un riferimento.
2. Invia generazione
Chiama l'API con la chiave del tuo account, l'ID del modello, il prompt, gli URL opzionali delle immagini di input, il rapporto d'aspetto e la risoluzione.
3. Sondaggio e utilizzo
Traccia il compito fino a quando non ha successo, quindi utilizza il risultato dell'immagine generata nella tua app, campagna o libreria di risorse.
Cosa puoi creare con l'API GPT Image 2
Usa l'API quando il tuo prodotto necessita di generazione di immagini ripetibile e di alta qualità piuttosto che esportazioni manuali una tantum.
Generazioni di immagini GPT 2 di successo dalla comunità
Sfoglia le uscite pubbliche di GPT Image 2 completate con successo, quindi apri qualsiasi caso per ispezionare il prompt, le impostazioni e il risultato.

GPT Image-2 - Text to Image
舊官員至今仍然不願悔改。持續讓魔鬼撒旦駕馭他們的身體:〔魔成肉身〕。 ▲上述文字意境的繪圖風格: 社論漫畫插圖,黑色墨水勾勒輪廓,柔和的水彩渲染,交叉排線陰影,邊緣呈現暈染效果; 採用深色墨水陰影點綴。 使用MBM素描紙,高品質的進口素描紙。纖維略長且質地結實,紙面有明顯且獨特的橫條紋理,耐摩擦、抓粉力極強,

GPT Image-2 - Text to Image
I need 11 distinctly separate stationary clipart graphics/icons to symbolically represent these stages of the universes history spaced out on the canvas. More like iconic clipart. The Father looks the same as the son, but give the Father white hair. You can see the son's face. Can you make them as big as you can on an A3 size minimum, high resolution. Add no text or numbers. less detailed pictorial and more icons; 1. God the Father - A majestic being of light, has a form and feature like man but face diffused by light. God the Father Is represented by His Spirit. His spirit is the light that hides His face. The Holy Spirit is an essence/power not a person 2. Son of God. First Begotten. Has some original essence from the Father / like metal casting. 3. Plan of redemption conceived and the anointing of the Son of God with the Father’s spirit. Foreordained. 4. The beginning of created things. The foundation of the universe, suns and one complete water-globe-planet is prominent, no land on the planet 5. The creation of Angels. Lucifer was created first. 6. Other worlds and other inhabitants. They are similar to man, not ugly. 7. Planning of the creation of man between the Father and the Son 8. Lucifers rebellion 9. The creation of man and women. Eve is clothed 10. The Fall of man by deception of the snake. 11. The plan of redemption reconfirmed and activated. The shows the son of God making clothing for Adam and Eve while Adam and Eve are sacrificing a lamb on an alter.

GPT Image-2 - Text to Image
I stationary clipart graphics/icons to symbolically represent one stage of the universes history. More like iconic clipart. Can you make them as big as you can on an A3 size minimum, high resolution. Add no text or numbers. less detailed pictorial and more icons; The beginning of created things. The foundation of the universe, suns and one complete water-globe-planet is prominent, no land on the planet

GPT Image-2 - Text to Image
I need 11 distinctly separate stationary clipart graphics/icons to symbolically represent these stages of the universes history spaced out on the canvas. More like iconic clipart. The Father looks the same as the son, but give the Father white hair. You can see the son's face. Can you make them as big as you can on an A3 size minimum, high resolution. Add no text or numbers. less detailed pictorial and more icons; 1. God the Father - A majestic being of light, has a form and feature like man but face diffused by light. God the Father Is represented by His Spirit. His spirit is the light that hides His face. The Holy Spirit is an essence/power not a person 2. Son of God. First Begotten. Has some original essence from the Father / like metal casting. 3. Plan of redemption conceived and the anointing of the Son of God with the Father’s spirit. Foreordained. 4. The beginning of created things. The foundation of the universe, suns and the water-globe-planet is prominent 5. The creation of Angels. Lucifer was created first. 6. Other worlds and other inhabitants. They are similar to man, not ugly. 7. Planning of the creation of man between the Father and the Son 8. Lucifers rebellion 9. The creation of man and women. Eve is clothed 10. The Fall of man by deception of the snake. 11. The plan of redemption reconfirmed and activated. The shows the son of God making clothing for Adam and Eve while Adam and Eve are sacrificing a lamb on an alter.

GPT Image-2 - Text to Image
I need 11 distinctly separate stationary clipart graphics/icons to symbolically represent these stages of the universes history spaced out on the canvas. More like iconic clipart. The Father looks the same as the son, but give the Father white hair. You can see the son's face. Can you make them as big as you can on an A3 size minimum, high resolution. Add no text or numbers. less detailed pictorial and more icons; 1. God the Father - A majestic being of light, has a form and feature like man but face diffused by light. God the Father Is represented by His Spirit. His spirit is the light that hides His face. The Holy Spirit is an essence/power not a person 2. Son of God. First Begotten. Has some original essence from the Father / like metal casting. 3. Plan of redemption conceived and the anointing of the Son of God with the Father’s spirit. Foreordained. 4. The beginning of created things. The foundation of the universe, plants suns, and the creation only a water planet globe is prominent 5. The creation of Angels. Lucifer was created first. 6. Other worlds and other inhabitants 7. Planning of the creation of man between the Father and the Son 8. Lucifers rebellion 9. The creation of man and women. Eve is clothed 10. The Fall of man by deception of the snake. 11. The plan of redemption reconfirmed and activated.

GPT Image-2 - Text to Image
I need 11 distinctly separate stationary clipart graphics/icons to symbolically represent these stages of the universes history spaced out on the canvas. More like iconic clipart. The Father looks the same as the son, but give the Father white hair. You can see the son's face. Can you make them as big as you can on an A3 size minimum, high resolution. Add no text or numbers. less detailed pictorial and more icons; 1. God the Father - A majestic being of light, has a form and feature like man but face diffused by light. God the Father Is represented by His Spirit. His spirit is the light that hides His face. The Holy Spirit is an essence/power not a person 2. Son of God. First Begotten. Has some original essence from the Father / like metal casting. 3. Plan of redemption conceived and the anointing of the Son of God with the Father’s spirit. Foreordained. 4. The beginning of created things. The foundation of the universe, plants suns, and the creation also of the water-globe called earth is prominent 5. The creation of Angels. Lucifer was created first. 6. Other worlds and other inhabitants 7. Planning of the creation of man between the Father and the Son 8. Lucifers rebellion 9. The creation of man and women 10. The Fall of man by deception of the snake. 11. The plan of redemption reconfirmed and activated.
Progettato per flussi di lavoro API di immagini reali
Esecuzione limitata agli account
Gli utenti accedono, inviano lavori e utilizzano crediti attraverso il flusso di generazione SdanceAI esistente.
Gestione dell'immagine di input
Image to Image accetta URL di immagini sorgente, così i team possono mantenere i riferimenti nel proprio flusso di lavoro degli asset mentre generano nuove variazioni.
Risoluzione consapevole dei costi
Inizia con 1K per iterazioni rapide, poi passa a 2K o 4K quando il prompt e la direzione visiva sono pronti.
Domande sull'API GPT Image 2
A cosa serve al meglio l'API GPT Image 2?
È ideale per la generazione di immagini basata su prompt e la modifica di immagini guidata da riferimenti, inclusi visual di prodotti, pubblicità, contenuti creativi per social, poster e mockup di design.
Qual è la differenza tra Testo in Immagine e Immagine in Immagine?
Da testo a immagine parte solo da un prompt. Da immagine a immagine utilizza uno o più URL di immagini di origine più un prompt, rendendolo migliore per modifiche, variazioni e flussi di lavoro che preservano i riferimenti.
Quali risoluzioni sono disponibili?
La configurazione attuale dell'API include livelli di prezzo da 1K, 2K e 4K. Scegli una risoluzione inferiore per le iterazioni e una risoluzione maggiore per le risorse finali.
Quali rapporti d'aspetto posso usare?
I rapporti d'aspetto disponibili includono auto, 1:1, 9:16, 16:9, 4:3 e 3:4. Abbina il rapporto al tuo canale di destinazione prima di generare gli asset finali.
Quante immagini di input può utilizzare Image to Image?
The configured image-to-image payload supports input image URL arrays, with up to 16 source images.
Dove posso testarlo prima di integrarlo?
Use the playground on this page to test prompts, input image URLs, aspect ratio, resolution, and API payload behavior before moving into production.
Posso usare l'API GPT Image 2 per flussi di lavoro commerciali?
Questa pagina è configurata per flussi di lavoro di immagini in produzione. Per uso commerciale, controlla il tuo piano account, il saldo dei crediti, la disponibilità del modello e i requisiti della politica sui contenuti applicabili.
L'API supporta i callback?
Sì. Lo schema della richiesta include un URL di callback opzionale in modo che il tuo servizio possa ricevere notifiche di completamento delle attività.
Come dovrei gestire i costi?
Usa 1K per l'esplorazione dei prompt e le bozze in massa, poi rigenera i vincitori selezionati a 2K o 4K quando hai bisogno di un output finale più nitido.
Posso modificare le foto dei prodotti esistenti?
Sì. Usa Image to Image con URL delle immagini di origine e un prompt che descriva esattamente le modifiche di sfondo, illuminazione, disposizione o stile di cui hai bisogno.
Trasforma GPT Image 2 nel tuo flusso di lavoro di immagini
Apri il generatore, prova un prompt o un'immagine di riferimento, poi usa la documentazione API quando sei pronto per collegare GPT Image 2 alla produzione.