GPT Image 2
דור התמונות העדכני ביותר של OpenAI
model: "gpt-image-2"
מצבים
מזהה מודל אחד, כל מצב למטה. השדות שתשלחו בוחרים את המצב, והמחיר עוקב אחרי המצב.
| מצב | נבחר על ידי | מחיר טיפוסי |
|---|---|---|
| טקסט לתמונה | promptדוגמת בקשה{
"model": "gpt-image-2",
"input": {
"prompt": "a lighthouse at dusk"
}
} | $0.041 |
| עריכת תמונה | image_urlדוגמת בקשה{
"model": "gpt-image-2",
"input": {
"prompt": "a lighthouse at dusk",
"image_url": "https://example.com/image.jpg"
}
} | $0.197 |
קלט
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.
אפשרויות מתקדמות (2)
הגדרות ספק מעבר לפקדים הראשיים. השאר אותם ריקים כדי להשתמש בברירות המחדל של הדגם.
Compression level of the output file.
File format of the result.
תוצאה
פלט לדוגמהתוצאה אמיתית מהמודל הזה. הפעל אותו כדי לראות את שלך כאן.
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"
}
}'נעשה עם GPT Image 2






מודלים קשורים
תמונהחדשByteDance
Seedream 5.0 Lite
הדור האחרון עם מצב חשיבה עמוקה
תמונהחדשByteDance
Seedream 5.0 Pro
מודל התמונה הדגלי עם חשיבה עמוקה, טקסט על התמונה, ועריכה דייקת
תמונהחדשBlack Forest Labs
FLUX 2 Pro
פוטוריאליזם בדרגת ייצור
תמונהחדשBlack Forest Labs
FLUX Kontext Pro
ערוך תמונות עם הנמקות טקסט
תמונהחדשBlack Forest Labs
FLUX Pro Ultra
איכות מקסימלית, עד רזולוציה 2K
תמונהחדשBlack Forest Labs
FLUX.1 Dev
יצירת תמונות בעלות גבוהה עם שליטה עדינה