下の画像はリンク先の OpenAI プロンプトガイドでこのモデルに帰属するとされており、API Hop の実測結果ではありません。表示するプロンプトと設定は再利用できるリクエスト例であり、再現性を検証したパラメータではありません。改変したプロンプトには表示があります。編集結果を使う前に、形状、文字、意図しない変更を入力と比較してください。
プロンプトを表示
Create a photorealistic candid photograph of an elderly sailor standing on a small fishing boat.
He has weathered skin with visible wrinkles, pores, and sun texture, and a few faded traditional sailor tattoos on his arms.
He is calmly adjusting a net while his dog sits nearby on the deck. Shot like a 35mm film photograph, medium close-up at eye level, using a 50mm lens.
Soft coastal daylight, shallow depth of field, subtle film grain, natural color balance.
The image should feel honest and unposed, with real skin texture, worn materials, and everyday detail. No glamorization, no heavy retouching.
Give me a cool in culture ad / fashion shot for a brand called Thread.
It's a hip young street brand. The ad shows a group of friends hanging out together with the tagline "Yours to Create."
Make it feel like a polished campaign image for a youth streetwear audience: stylish, contemporary, energetic, and tasteful.
Use clean composition, strong color direction, natural poses, and premium fashion photography cues.
Render the tagline exactly once, clearly and legibly, integrated into the ad layout.
No extra text, no watermarks, no unrelated logos.
Create an original, non-infringing logo for a company called Field & Flour, a local bakery.
The logo should feel warm, simple, and timeless. Use clean, vector-like shapes, a strong silhouette, and balanced negative space.
Favor simplicity over detail so it reads clearly at small and large sizes. Flat design, minimal strokes, no gradients unless essential.
Fully transparent background. Deliver a single centered logo with generous padding, clean alpha edges, and no solid backdrop, scenery, checkerboard, or watermark.
レスポンスにモデル名は再掲されていません。記録は指定したモデルとリクエスト ID を正確に保持していますが、上流ルーティングの独立検証ではありません。
リクエストと入力の全内容
POST /openai/v1/images/generations
{
"model": "gpt-image-2.5-sunburst",
"prompt": "Edit the supplied product photograph. Replace only the turquoise background with a plain white studio background. Keep the same clear glass, orange drink level, ice, pedestal, lemon wedge and green leaf, with their shapes, colors and relative positions unchanged. Preserve the full composition. No new objects, text, logos or watermarks.",
"image_urls": [
"https://api.apihop.ai/generated/364459846248173568/0.png"
],
"n": 1,
"size": "16:9",
"resolution": "1k",
"quality": "low",
"output_format": "png",
"stream": false
}
下の画像はリンク先の OpenAI プロンプトガイドでこのモデルに帰属するとされており、API Hop の実測結果ではありません。表示するプロンプトと設定は再利用できるリクエスト例であり、再現性を検証したパラメータではありません。改変したプロンプトには表示があります。編集結果を使う前に、形状、文字、意図しない変更を入力と比較してください。
プロンプトを表示
Extract the product from the input image and isolate it on a fully transparent background.
Output: centered product, crisp silhouette, no halos/fringing.
Preserve product geometry and label legibility exactly.
Add only light polishing. Do not add a solid backdrop, checkerboard, scenery, or shadow.
Do not restyle the product; remove the background and preserve clean alpha transparency.
Turn this drawing into a photorealistic image.
Preserve the exact layout, proportions, and perspective.
Choose realistic materials and lighting consistent with the sketch intent.
Do not add new elements or text.
In this room photo, replace ONLY the white chairs with chairs made of wood.
Preserve camera angle, room lighting, floor shadows, and surrounding objects.
Keep all other aspects of the image unchanged.
Photorealistic contact shadows and fabric texture.
サーバー用の API Hop API キーを作成し、このページのモデル ID とプロンプトを含む JSON を POST /openai/v1/images/generations に送信します。新しい画像には image_urls を指定しません。送信前に現在のモデル料金を確認してください。生成は課金対象であり、無料の接続テストではありません。
API Hop 経由で参照画像を編集するには?
選択したモデル、編集プロンプト、image_urls を POST /openai/v1/images/generations に送信します。公開アクセス可能な HTTP(S) 画像 URL を最大 16 件指定できます。この API Hop エンドポイントは生成と参照画像編集に JSON を使います。現在の公開仕様は multipart アップロード、base64 データ URI、マスク、独立した /images/edits ルートに対応していません。変更点と維持する詳細を記述し、結果全体を確認してください。再編集する際は前の結果を参照 URL として再度送ります。このエンドポイントは会話履歴を保持しません。
生成画像の URL はどこにありますか?
stream: false では API Hop が完了を待ち、利用可能な使用量情報とともに data[].url に画像 URL を返します。結果を読む前に HTTP ステータスとレスポンス本文を確認してください。上流の Base64 レスポンスパーサーではなく、このエンドポイントの仕様に従ってください。永続的なアクセスが必要な場合は、完成画像を自分のストレージにダウンロードします。
ストリーミング結果はどう読み取りますか?
stream: true では image_generation.completed と [DONE] まで SSE イベントを読み、エラーイベントを処理します。途中画像のプレビューは保証されません。この Images generations エンドポイントはポーリング用のジョブ ID を返しません。完了前に接続が切れた場合、取得済みのリクエスト ID を保持し、課金される可能性のある再生成を送る前にリクエスト記録とアカウント使用量を確認してください。クライアントの切断は生成のキャンセルを意味しません。
model は必須です。例ではこのページのモデル ID を使用しています。GET /v1/models で API キーのモデルアクセス権を確認してください。
画像生成POST /openai/v1/images/generations
curl -X POST "https://api.apihop.ai/openai/v1/images/generations" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-2.5-sunburst","prompt":"Create a photorealistic candid photograph of an elderly sailor standing on a small fishing boat.\nHe has weathered skin with visible wrinkles, pores, and sun texture, and a few faded traditional sailor tattoos on his arms.\nHe is calmly adjusting a net while his dog sits nearby on the deck. Shot like a 35mm film photograph, medium close-up at eye level, using a 50mm lens.\nSoft coastal daylight, shallow depth of field, subtle film grain, natural color balance.\nThe image should feel honest and unposed, with real skin texture, worn materials, and everyday detail. No glamorization, no heavy retouching.","n":1,"size":"1:1","quality":"low","output_format":"png","stream":false,"resolution":"1k","image_urls":[],"background":"auto"}'
API Hop のリクエストとレスポンスの制限
サーバー用の API Hop API キーを作成し、このページのモデル ID とプロンプトを含む JSON を POST /openai/v1/images/generations に送信します。新しい画像には image_urls を指定しません。送信前に現在のモデル料金を確認してください。生成は課金対象であり、無料の接続テストではありません。
選択したモデル、編集プロンプト、image_urls を POST /openai/v1/images/generations に送信します。公開アクセス可能な HTTP(S) 画像 URL を最大 16 件指定できます。この API Hop エンドポイントは生成と参照画像編集に JSON を使います。現在の公開仕様は multipart アップロード、base64 データ URI、マスク、独立した /images/edits ルートに対応していません。変更点と維持する詳細を記述し、結果全体を確認してください。再編集する際は前の結果を参照 URL として再度送ります。このエンドポイントは会話履歴を保持しません。
stream: false では API Hop が完了を待ち、利用可能な使用量情報とともに data[].url に画像 URL を返します。結果を読む前に HTTP ステータスとレスポンス本文を確認してください。上流の Base64 レスポンスパーサーではなく、このエンドポイントの仕様に従ってください。永続的なアクセスが必要な場合は、完成画像を自分のストレージにダウンロードします。
stream: true では image_generation.completed と [DONE] まで SSE イベントを読み、エラーイベントを処理します。途中画像のプレビューは保証されません。この Images generations エンドポイントはポーリング用のジョブ ID を返しません。完了前に接続が切れた場合、取得済みのリクエスト ID を保持し、課金される可能性のある再生成を送る前にリクエスト記録とアカウント使用量を確認してください。クライアントの切断は生成のキャンセルを意味しません。