Seedance 2.0 API — Coming SoonGet early access

GPT-4o イメージ API

GPT-4o 画像生成を使用して、テキストから画像、画像から画像、修復のワークフローを構築します。 EvoLink はリクエストを非同期にルーティングし、タスク ID を返し、時間制限のあるイメージ URL を配信します。

77 (suggested: 2,000)

Upload reference images

Click to upload or drag and drop

Supported formats: JPG, JPEG, PNG, WEBP
Maximum file size: 10MB; Maximum files: 10

Generated image 1

履歴

最大20件

0 実行中 · 0 完了

ここに生成履歴が表示されます

GPT-4o 画像 API: テキストに忠実なビジュアルと制御可能な編集

改善されたテキストのレンダリングと指示に従って、マーケティング グラフィック、製品ショット、デザイン アセットを作成します。正確な編集にはマスクを使用し、画像ごとに反復処理を行い、1024x1024、1024x1536、または 1536x1024 などのサイズを選択します。

例1

Pricing

Popular
GPT-4o Image
Image Generation
Price:
$0.0208/ image
(1.5 Credits)

If it's down, we automatically use the next cheapest available—ensuring 99.9% uptime at the best possible price.

GPT-4o イメージ API を使用して何を構築できますか?

実際のデザインで読みやすいテキスト

コピーが読みやすく、レイアウトに合わせて配置されたポスター、メニュー、UI モックアップ、スライドを生成します。

例2

製品とブランドのイメージを大規模に表示

一貫した製品ショットとライフスタイル シーンを作成し、画像ごとに反復処理を行って、素早いバリエーションを実現します。

例3

マスクを使用した対象を絞った編集

基本画像と透明マスクを送信して、必要な領域のみを置換または調整します。

例4

開発者が GPT-4o イメージ API を選択する理由

GPT-4o イメージ生成をサポートする、生成と編集のための単一のエンドポイント。非同期タスク ID、柔軟なサイズ、参照イメージのガイダンスにより、チームはより迅速に出荷できます。

現実世界のアセットに対するテキストの忠実性

GPT-4o 画像生成は、本番環境に対応したビジュアルのテキスト レンダリングと指示の順守を向上させるように設計されています。

1 つの API にモードを統合

テキストから画像へ、画像から画像へ、および画像編集ワークフローは、単純なペイロードを持つ同じエンドポイントを共有します。

参考画像案内

アップロードされた画像を視覚的な参照として使用して、繰り返しにわたって詳細とスタイルを一致させます。

GPT-4o イメージ API を統合する方法

非同期タスク フローを通じてイメージを作成、編集、取得します。

1

ステップ 1 - モードとサイズを選択する

モデルを `gpt-4o-image` に設定し、`1:1`、`2:3`、`3:2`、または `1024x1024`、`1024x1536`、`1536x1024` などのピクセル サイズを選択します。

2

ステップ 2 - プロンプトと入力を提供する

詳細な指示を送信します。編集の場合は、ターゲット領域のみが変更されるように、ベース画像とマスクを含めます。

3

ステップ 3 - タスクのポーリングとダウンロード

タスク ID、クエリステータスを受信し、結果をダウンロードします。画像リンクは一時的なものですので、すぐに保存してください。

コア API 機能

GPT-4o画像生成を利用

文章

テキストの正確なレンダリング

画像内のテキストを読みやすくし、スペルミスを減らすように設計されています。

編集

画像から画像への変換と編集

1 つのエンドポイントでのテキストから画像への編集、画像から画像への編集、およびマスクベースの編集のサポート。

サイズ

柔軟なアスペクト比

「1:1」、「2:3」、「3:2」、または「1024x1536」のような明示的なピクセル サイズを使用します。

非同期

非同期タスクのワークフロー

生成と編集のためにタスク ID を受け取り、完了をポーリングします。

コントロール

参考画像のご案内

アップロードされた画像を参考として使用して、構成と詳細をガイドします。

限界

プロンプトの長さの制御

詳細な指示を求めるプロンプトは最大 2000 個のトークンをサポートします。

GPT-4o イメージ API - よくある質問

Everything you need to know about the product and billing.

単一のエンドポイントを通じて、テキストから画像へ、画像から画像へ、および画像編集ワークフローを使用します。
ベースイメージと、変更する領域をマークするマスクイメージを送信します。モデルはその領域のみを編集します。
はい。入力画像と、画像から画像の生成を通じて構成やスタイルを保持するためのプロンプトを提供します。
「1:1」、「2:3」、「3:2」、または「1024x1024」、「1024x1536」、「1536x1024」などのピクセル サイズを使用します。
はい。 API は、ステータスをポーリングできるタスク ID を返します。
生成された画像リンクは 24 時間有効なので、すぐにダウンロードして保存してください。
プロンプトは最大 2000 個のトークンをサポートします。
価格は使用量に基づいており、サイズとプランによって異なります。現在のレートについては、EvoLink ダッシュボードを確認してください。
POST
/v1/images/generations

Generate Image

Create an image generation task using text prompts or reference images. Supports text-to-image, image-to-image, and image editing modes.

Asynchronous processing mode, use the returned task ID to .

Generated image links are valid for 24 hours, please save them promptly.

Request Parameters

modelstringRequiredDefault: gpt-4o-image

Image generation model name.

Examplegpt-4o-image
promptstringRequired

Prompt describing the image to be generated or how to edit the input image.

Notes
  • Limited to 2000 tokens
ExampleA cat playing in the grass
sizestringOptional

Size of the generated image. Supports ratio format and pixel format.

ValueDescription
1:1Square ratio
2:3Portrait ratio
3:2Landscape ratio
1024x1024Square (1024×1024)
1024x1536Portrait (1024×1536)
1536x1024Landscape (1536×1024)
Example1024x1024
nintegerOptional

Number of images to generate.

ValueDescription
1Generate 1 image
2Generate 2 images
4Generate 4 images
Notes
  • Pre-charged based on n value, actual charge based on generated count
Example1
image_urlsarrayOptional

Reference image URL list for image-to-image and image editing functions.

Notes
  • Max 5 images per request
  • Max size: 10MB per image
  • Formats: .jpeg, .jpg, .png, .webp
  • URLs must be directly accessible by the server
Examplehttps://example.com/image1.png
mask_urlstringOptional

Mask image URL for image editing.

Notes
  • Mask and reference image must be PNG format with same dimensions
  • Max size: 4MB
  • Cannot be used when image_urls contains more than 1 image
Examplehttps://example.com/mask.png
callback_urlstringOptional

HTTPS callback address after task completion.

Notes
  • Triggered on completion, failure, or cancellation
  • Sent after billing confirmation
  • HTTPS only, no internal IPs
  • Max length: 2048 chars
  • Timeout: 10s, Max 3 retries
Examplehttps://your-domain.com/webhooks/image-task-completed

Request Example

{
  "model": "gpt-4o-image",
  "prompt": "A beautiful sunset over the ocean with vibrant colors",
  "size": "1024x1024",
  "n": 1
}

Response Example

{
  "created": 1757165031,
  "id": "task-unified-1757165031-uyujaw3d",
  "model": "gpt-4o-image",
  "object": "image.generation.task",
  "progress": 0,
  "status": "pending",
  "task_info": {
    "can_cancel": true,
    "estimated_time": 45
  },
  "type": "image",
  "usage": {
    "billing_rule": "per_call",
    "credits_reserved": 2.5,
    "user_group": "default"
  }
}