画像
GPT Image 2.5
指示、文字、参照画像を正確に扱う GPT Image 2.5 の使い方。
約 1 分2 セクション
GPT Image 2.5 は、表示する文字、ブランドの一貫性、詳細な指示が重要な場合に有効です。結果と維持すべき要素を具体的に説明してください。
実践の要点
速度、忠実度、解像度、制御性のどれを優先するかでモデルを選び、各結果のパラメータとバージョンを保存します。 gpt-image-2.5-flare, gpt-image-2.5-sunburst and gpt-image-2 — GPT Image 2.5.
1 回の試行で変えるのは 1 点だけにします。良い出力を参照として残すと、次の反復で最も確実な出発点になります。
finished と failed は終端状態として扱います。polling または webhook を使い、生のエラーはサーバー側に保持し、利用者には安全なメッセージを表示してください。
プロンプトと API の例
text
Studio product photograph for a small design brand.A single matte cobalt-blue insulated water bottle with a brushed stainless-steelcap stands on a pale limestone block. Three-quarter view, bottle fully visible,centered in the right half of a wide composition. Warm ivory seamless background,soft window light from the upper left, a believable contact shadow, finepowder-coated texture and restrained reflections on the cap. Leave the leftthird empty for headline copy added later. No text, no logo, no extra bottles,no decorative props.



text
Create a finished editorial poster in a portrait composition.Warm ivory background. At the top, large crisp dark-navy uppercase typographyreads exactly "MAKE ROOM" on the first line and "FOR QUIET" on the second line.In the lower right, a sculptural spiral made of matte cobalt-blue ceramic restson a simple pale pedestal. Place the small footer "STUDIO NOTES / 01" at thebottom left. Strong alignment, generous margins, subtle paper texture and onesoft directional shadow. The poster itself fills the image: no frame, no wall,no mockup perspective. Render only the three specified text elements, withno additional words, letters, logos or watermarks.

text
Wide editorial illustration for an article about reusable packaging.Build the scene as a tactile cut-paper collage: one cobalt-blue water bottlesurrounded by folded cream paper leaves and three simple circular ripples.Use an off-white handmade-paper background and a restrained sage-green accent.Show crisp cut edges, slight layering shadows and clean geometric silhouettes.Keep the bottle and most of the collage in the right two thirds; leave theleft third quiet for a headline added later. The artwork fills the image.No text, letters, numbers, logos, photographs or watermarks.

text
Edit the supplied product photograph. Replace only the warm ivorybackground with a muted sage-green plaster wall with a very fine matte texture.Keep the cobalt-blue bottle, its brushed steel cap, the pale limestone block,the camera angle, crop and product placement unchanged. Preserve the directionof the light and the contact shadow. Keep the left third empty. Do not addtext, labels, logos, props or another bottle.

sh
curl -X POST https://api.api-stock.com/api/v1/generation/create \-H "Authorization: Bearer $API_STOCK_KEY" \-H "Content-Type: application/json" \-d '{"model": "gpt-image-2.5-flare","input": {"prompt": "Studio photograph of a matte cobalt-blue bottle on pale limestone, warm ivory background, soft light from the upper left, room for a headline on the left, no text or logo.","size": "3:2","resolution": "2k"}}'
sh
curl "https://api.api-stock.com/api/v1/task/status/$TASK_ID" \-H "Authorization: Bearer $API_STOCK_KEY"
json
{"model": "gpt-image-2.5-sunburst","input": {"prompt": "Replace only the background with a muted sage-green wall. Keep the bottle, cap, block, framing and lighting unchanged.","urls": ["https://example.com/your-approved-product-photo.png"],"size": "3:2","resolution": "2k"}}
自分の API キーで試す
このガイドで扱うモデルはすべて API Stock のカタログで利用できます。API キーは 1 つ、プリペイド残高も 1 つで、プロバイダーごとの登録は不要です。