GPT Image 2
Latest image generation model ng OpenAI
model: "gpt-image-2"
Mga paraan
Isang model id, bawat mode sa ibaba. Ang mga field na ipinapadala mo ay pumipili ng mode, at ang presyo ay sumusunod sa mode.
| Paraan | Pinipili ng | Tipikal na presyo |
|---|---|---|
| Teksto tungo sa larawan | promptHalimbawang kahilingan{
"model": "gpt-image-2",
"input": {
"prompt": "a lighthouse at dusk"
}
} | $0.041 |
| Pagbabago ng larawan | image_urlHalimbawang kahilingan{
"model": "gpt-image-2",
"input": {
"prompt": "a lighthouse at dusk",
"image_url": "https://example.com/image.jpg"
}
} | $0.197 |
Input
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.
Mga advanced na opsyon (2)
Mga setting ng provider na higit pa sa pangunahing kontrol. Iwanan silang walang laman upang gamitin ang mga default ng modelo.
Compression level of the output file.
File format of the result.
Resulta
Halimbawang outputTunay na resulta mula sa modelong ito. Patakbuhin mo ito upang makita ang sa iyo dito.
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"
}
}'Ginawa gamit ang GPT Image 2






Mga kaugnay na modelo
LarawanBagoByteDance
Seedream 5.0 Lite
Pinakabagong henerasyon na may deep-thinking mode
LarawanBagoByteDance
Seedream 5.0 Pro
Flagship deep-thinking image model na may on-image text at precise editing
LarawanBagoBlack Forest Labs
FLUX 2 Pro
Production-grade photorealism
LarawanBagoBlack Forest Labs
FLUX Kontext Pro
I-edit ang larawan gamit ang text instructions
LarawanBagoBlack Forest Labs
FLUX Pro Ultra
Maksimum na kalidad, hanggang 2K resolution
LarawanBagoBlack Forest Labs
FLUX.1 Dev
Mataas na kalidad na image generation na may fine control