GPT Image 2
OpenAI:s senaste bildgenereringsmodell
model: "gpt-image-2"
Lägen
Ett modell-ID, alla lägen nedan. De fält du skickar väljer läget, och priset följer läget.
| Läge | Valt av | Typiskt pris |
|---|---|---|
| Text till bild | promptExempelbegäran{
"model": "gpt-image-2",
"input": {
"prompt": "a lighthouse at dusk"
}
} | $0.041 |
| Bildredigering | image_urlExempelbegäran{
"model": "gpt-image-2",
"input": {
"prompt": "a lighthouse at dusk",
"image_url": "https://example.com/image.jpg"
}
} | $0.197 |
Inmatning
Prompt
Image Size
Number of Images
Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.
More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.
Avancerade alternativ (2)
Leverantörinställningar bortom huvudkontrollerna. Lämna dem tomma för att använda modellens standardvärden.
Compression level of the output file.
File format of the result.
Resultat
ExempelutmatningEtt verkligt resultat från denna modell. Kör den för att se ditt resultat här.
curl https://arteza.ai/api/v1/generations \
-H "Authorization: Bearer $ARTEZA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"input": {
"prompt": "Extreme macro of fresh wasabi being hand-grated on a sharkskin oroshigane, pale green paste accumulating in delicate curls at the leading edge, raking cool north-light revealing every cellulose fiber and fine moisture bead on the rhizome surface, square abstract food and craft composition, muted jade and pale ivory palette, fine grated mist suspended above the grater teeth, entirely unpeopled, precise botanical clarity"
}
}'Skapad med GPT Image 2






Relaterade modeller
BildNyByteDance
Seedream 5.0 Lite
Senaste generationen med djuprannerande läge
BildNyByteDance
Seedream 5.0 Pro
Flaggskepps djuprannerande bildmodell med text på bilder och precis redigering
BildNyBlack Forest Labs
FLUX 2 Pro
Produktionsklar fotorealism
BildNyBlack Forest Labs
FLUX Kontext Pro
Redigera bilder med textinstruktioner
BildNyBlack Forest Labs
FLUX Pro Ultra
Maximal kvalitet, upp till 2K-upplösning
BildNyBlack Forest Labs
FLUX.1 Dev
Högkvalitativ bildgenerering med fin kontroll