画像OpenAI新規
GPT Image 2
OpenAIの最新画像生成モデル
model: "gpt-image-2"
モード
1つのモデルID、すべてのモード。送信するフィールドがモードを決定し、価格はモードに従います。
| モード | 選択方法 | 標準価格 |
|---|---|---|
| テキストから画像生成 | 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
オプション
1
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
深い思考モード付きの最新世代
0.60クレジットまたは$0.035(コスト価格)
画像新規ByteDance
Seedream 5.0 Pro
画像上テキストと精密編集を備えたフラッグシップ深い思考画像モデル
2.1クレジットまたは$0.14(コスト価格)
画像新規Black Forest Labs
FLUX 2 Pro
プロダクションレベルのフォトリアリズム
0.50クレジットまたは$0.045(コスト価格)
画像新規Black Forest Labs
FLUX Kontext Pro
テキスト命令で画像を編集
0.60クレジットまたは$0.040(コスト価格)
画像新規Black Forest Labs
FLUX Pro Ultra
最大品質、2K解像度まで対応
0.90クレジットまたは$0.060(コスト価格)
画像新規Black Forest Labs
FLUX.1 Dev
微細なコントロール付き高品質画像生成
0.40クレジットまたは$0.025(コスト価格)