GPT Image 2 API
画像 APIHOTGPT Image 2 API は、プロンプト生成、参照画像編集、予測しやすい API payload が必要な本番向け画像生成ワークフローに適しています。キャンペーンビジュアル、商品画像、SNS クリエイティブ、デザインモックを SdanceAI の生成フロー内で作成できます。
現在の統合では Text to Image と Image to Image を提供し、1K、2K、4K の料金ティアと、正方形・縦長・横長・ポートレート向けの一般的なアスペクト比に対応しています。
最低コスト $0.015/image
1K: 3 クレジット - テキストから画像 - 生成ごとの固定価格
2K: 5 クレジット - テキストから画像 - 生成ごとの固定価格
4K: 8 クレジット - テキストから画像 - 生成ごとの固定価格
USD 見積もりは最適な年額プランの $0.005/クレジットで計算しています。最終料金は選択した解像度とモデルタイプに従います。
主要リクエストフィールド
プロンプト、入力画像、比率、解像度、コールバック、安全設定をコンパクトな payload で管理します。
{
"model": "gpt-image-2-text-to-image",
"input": {
"prompt": "A cinematic night city poster with neon reflections on a rainy street.",
"aspect_ratio": "auto"
}
}Text to Image で生成
Playground、リクエスト例、入力フィールド、料金は選択中のモデルタイプに連動します。
API 詳細ドキュメントを見るエンドポイント、認証、タスクのポーリング、payload の詳細を確認できます。 /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)GPT Image 2 API が画像ワークフローに加える機能
モデルを試し、フィールドを確認し、そのまま統合へ進める API ファーストの構成です。
テキストから画像生成
構造化したプロンプトから、ポスター、広告、サムネイル、コンセプトアート、商品シーン向けの画像を生成できます。
参照画像編集
入力画像の文脈を保ちながら、スタイル、背景、レイアウト、ライティング、商品表現を変更できます。
解像度ティア
1K、2K、4K から選び、反復コスト、プレビュー品質、最終画像の精細さを調整できます。
API-ready payload
モデル ID、コールバック URL、プロンプト、入力画像 URL、アスペクト比、解像度を 1 つの予測しやすいリクエストで扱えます。
プロンプトテストから画像 API リクエストへ
画像品質を確認してから、生成機能をアプリやコンテンツパイプラインへ組み込めます。
1. モード選択
新しい画像を作る場合は Text to Image、参照画像を使って編集する場合は Image to Image を選びます。
2. 生成を送信
API キー、モデル ID、プロンプト、任意の入力画像 URL、アスペクト比、解像度を指定して呼び出します。
3. ポーリングして利用
タスク完了まで追跡し、生成された画像をアプリ、キャンペーン、アセットライブラリで利用します。
GPT Image 2 API で作れるもの
単発の手動書き出しではなく、繰り返し使える高品質な画像生成を製品に組み込めます。
コミュニティの GPT Image 2 成功事例
公開され、正常に生成された GPT Image 2 の出力を確認できます。各事例からプロンプト、設定、結果を詳しく見られます。

GPT Image-2 - Text to Image
文章标题:org_b_admin 前台隔离测试标题 20 核心关键词:org_b_admin 测试关键词 20 文章摘要:org b admin 前台隔离测试标题 20 核心摘要 文档类型 :面向决策的榜单型对比文章,适合快速筛选、摘要引用和方案比较。 推荐对象 :正在评估 org b admin 测试关键词 20 相关方案的产品、技术、测试或运营团队,尤其是需要做前台隔离、环境区分或权限边界验证的人群。 TOP Pick : 方案1:独立前台隔离 + 统一后台管控 。它通常在 请生成一张文章封面图,横向构图,适合资讯/博客封面,主体明确,真实、清晰、专业,不要出现文字、水印或 logo。

GPT Image-2 - Text to Image
聖人都是窮光蛋。 姜子牙釣的不是魚,是周文王。 諸葛亮等的不是雨,是劉備。 孔子週遊18年,餓到絕糧。 21世紀的聖人,也在茅屋等一個人。 但他們手裡永遠握著光。

GPT Image-2 - Text to Image
拍攝一張金色時刻的暖色調光線,模特是一位美麗的女士,使用提供的照片中的面部特徵和髮型。她身穿一件奢華的黑色蕾絲吊帶,袖子上有一個時尚的鏤空設計。優雅自信的姿態,她回眸一瞥,眼神優雅而神秘。她有一雙灰色的眼睛,一頭烏黑的長髮如瀑布般傾瀉而下。

GPT Image-2 - Text to Image
Female-oriented Chinese web novel cover, romantic military marriage story, 1980s Chinese period romance, soft anime illustration style, manga promotional poster style, vertical book cover composition, close-up portrait of the main couple, title theme “替嫁糙汉军官后,娇娇军医被宠透”, author “顾翠微”. An anime-style illustration featuring a young couple in a warm nostalgic military romance setting. On the left, a tall rugged young military officer with short slightly messy black hair, sun-tanned skin, sharp eyebrows, deep dark eyes, and a faint restrained smile. He has a masculine, rough, protective temperament, wearing a fictional retro green military-style jacket with no real military insignia or political symbols. His body is angled slightly away, but his eyes look toward the viewer with calm confidence and hidden tenderness. To the right and slightly in front of him, a delicate young female military doctor with fair soft skin, large expressive dark eyes, and long black hair tied neatly with a few gentle loose strands. She wears a light cream blouse under a simple white medical coat, holding a vintage medical kit close to her chest. Her expression is shy, gentle, and slightly nervous, with a soft blush, but her eyes also reveal quiet resilience and kindness. The male officer stands close behind her in a protective posture, creating a strong contrast between his rugged strength and her soft medical beauty. Their relationship feels intimate but restrained, sweet but not overly explicit, full of hidden affection, arranged marriage romance, protective love, healing romance, “rough military husband spoils delicate doctor wife” atmosphere. Background: a soft blurred retro military compound and small-town hospital courtyard, pale sky, warm sunlight, faint green trees, old wooden windows, subtle nostalgic 1980s Chinese period details. The composition focuses on their faces and upper bodies, romantic close-up portrait, gentle pastel colors mixed with warm cream, soft green, pale blue, and light peach tones. Soft diffused lighting, warm backlight, dreamy atmosphere, shallow depth of field, clean and beautiful female-oriented web novel cover style. High-quality anime illustration, delicate line art, beautiful facial features, expressive eyes, soft romantic atmosphere, elegant commercial novel cover, popular Chinese romance manhua style, warm and sweet emotional tension, vertical composition, space reserved at the top for the book title and at the bottom for the author name, high detail, 4K, polished promotional art.

GPT Image-2 - Text to Image
Female-oriented Chinese web novel cover, romantic military marriage drama, 1980s Chinese period romance, cinematic TV drama poster style, vertical book cover composition, title theme “替嫁糙汉军官后,娇娇军医被宠透”. A delicate young female military doctor, soft and beautiful, fair translucent skin, gentle yet resilient eyes, black hair neatly tied with a few loose strands, wearing a clean white medical coat over a light-colored blouse, holding a vintage medical kit in her hands. Beside her stands a tall rugged military officer, masculine, broad shoulders, sun-tanned skin, sharp jawline, calm and protective expression, wearing a fictional retro military-style uniform with no real insignia, slightly rough but deeply affectionate temperament. The male officer stands close behind her in a protective posture, one hand lightly holding her wrist or shielding her from the wind, creating a strong contrast between his rugged strength and her soft medical beauty. Their expressions are restrained but full of hidden affection, intimate but not overly explicit, sweet tension, arranged marriage romance, protective love, healing romance, warm and emotional atmosphere. Background: a retro military compound or small-town hospital in the 1980s, muted green walls, old wooden windows, warm sunset light, faint shadows of military barracks and trees in the distance, subtle nostalgic Chinese period details, clean and cinematic environment. Soft golden sunlight mixed with gentle backlight, shallow depth of field, realistic skin texture, natural facial details, high-end romantic drama poster look, emotional but restrained, warm, sweet, protective, dramatic composition. Ultra-realistic, cinematic still, official TV drama poster style, 85mm movie lens, shallow depth of field, soft background blur, delicate natural skin texture, studio-grade lighting, high detail, 4K, vertical composition, popular Chinese romance novel cover, elegant and commercial, warm romantic atmosphere.

GPT Image-2 - Text to Image
Create an explanatory slide ({argument name="format" default="ponchi-e diagram"}) for {argument name="theme" default="Momotaro"} that fuses the gentle atmosphere of "Irasutoya" with the overwhelming information density of "Kasumigaseki slides". 做出宝可梦的内容 全部中文
実運用の画像 API ワークフロー向け
アカウント連動の実行
ユーザーはログイン後にジョブを送信し、既存の SdanceAI 生成フローでクレジットを消費します。
入力画像の扱い
Image to Image は入力画像 URL を受け取るため、参照素材を既存のアセットパイプラインに置いたまま新しいバリエーションを生成できます。
解像度でコスト調整
まず 1K で素早く反復し、プロンプトと方向性が決まったら 2K または 4K で最終画像を作成できます。
GPT Image 2 API FAQ
GPT Image 2 API は何に向いていますか?
プロンプトによる画像生成と参照画像ベースの編集に向いています。商品画像、広告、SNS クリエイティブ、ポスター、デザインモックなどに使えます。
Text to Image と Image to Image の違いは?
Text to Image はプロンプトだけで生成します。Image to Image は 1 枚以上の入力画像 URL とプロンプトを使うため、編集、バリエーション、参照を保つワークフローに向いています。
どの解像度に対応していますか?
現在の API 設定では 1K、2K、4K の料金ティアがあります。反復には低解像度、最終素材には高解像度を選ぶのがおすすめです。
どのアスペクト比を使えますか?
auto、1:1、9:16、16:9、4:3、3:4 を利用できます。最終生成前に配信先に合わせて比率を選んでください。
Image to Image では何枚の入力画像を使えますか?
現在の画像編集 payload は入力画像 URL 配列に対応しており、最大 16 枚の参照画像を指定できます。
統合前にどこで試せますか?
このページの Playground で、プロンプト、入力画像 URL、アスペクト比、解像度、API payload を試せます。
GPT Image 2 API は商用ワークフローで使えますか?
このページは本番画像ワークフロー向けに構成されています。商用利用前に、アカウントプラン、クレジット残高、モデル提供状況、適用されるコンテンツポリシーを確認してください。
API はコールバックに対応していますか?
はい。リクエスト schema には任意の callback URL があり、サービス側でタスク完了通知を受け取れます。
コストはどう管理すればよいですか?
1K でプロンプト探索と下書きを行い、良い方向性だけを 2K または 4K で再生成すると管理しやすくなります。
既存の商品写真を編集できますか?
はい。Image to Image に入力画像 URL を渡し、背景、ライティング、構図、スタイルなど必要な変更をプロンプトで指定してください。
GPT Image 2 を画像ワークフローへ
まず生成画面でプロンプトや参照画像を試し、結果を確認してから API ドキュメントで本番フローに接続できます。