DALL-E 3 icon

DALL-E 3 API

プロンプト理解に優れた OpenAI の画像モデル。

DALL-E 3 を1回のAPIコールで統合できます。1つのキー、1つの統一エンドポイント、そしてApiframe上のすべてのモデルで共通の請求。

model: "dall-e-3"
DALL-E 3 image of a futuristic cozy living room with a holographic jellyfish tank, a sleeping orange tabby cat, and a rainy cyberpunk skyline

DALL-E 3 の特長

  • アスペクト比:1:1, 3:2, 2:3。
  • 高速処理 — 1回の生成あたり平均約20秒。
  • OpenAI のアカウント不要の従量課金。成功した生成分だけお支払いいただきます。
  • Apiframe のすべてのモデルで、1つのAPIキー・統一請求・冪等性・Webhookに対応。

DALL-E 3 で作成

Apiframeの DALL-E 3 API で生成した出力例です。

Wide-angle DALL-E 3 render of a futuristic cozy living room with a neon holographic jellyfish tank, a sleeping orange tabby cat, and a rainy cyberpunk skyline

A wide-angle photo of a futuristic, cozy living room. On the left, a sleek holographic fish tank glows with neon blue jellyfish. In the center, a fluffy orange tabby cat is asleep on a green velvet armchair. On the right, a floor-to-ceiling window reveals a rainy cyberpunk city skyline at night.

DALL-E 3 minimalist vintage travel poster for Mars with red sand dunes, a dome colony, and bold retro-futuristic 'VISIT MARS' text

A minimalist vintage travel poster for Mars. The background features giant red sand dunes and a small dome colony. At the top, the words 'VISIT MARS' are written in a crisp, bold, retro-futuristic font.

DALL-E 3 macro close-up photograph of an intricate antique pocket watch on weathered dark wood with visible gears and warm lighting

A macro close-up photograph of an intricate, antique pocket watch resting on weathered dark wood. Every metallic gear, scratch on the glass face, and speck of dust is visible, with soft warm lighting casting long shadows.

DALL-E 3 surrealist oil painting of an ocean wave morphing into a herd of galloping white horses breaking against a rocky coast under a stormy sky

A surrealist oil painting where a massive ocean wave morphs seamlessly into a galloping herd of wild white horses, breaking against a rocky coastline under a dramatic stormy sky.

DALL-E 3 editorial interior design photo of a modern minimalist kitchen with matte black cabinets, raw concrete countertops, a waterfall island, and warm LED lighting

An editorial interior design photo of a modern minimalist kitchen. It features matte black cabinets, raw concrete countertops, a waterfall island, and warm under-cabinet LED lighting, looking clean and professional.

DALL-E 3 vibrant digital illustration of a bustling Tokyo intersection at night blending Japanese Ukiyo-e woodblock style with neon synthwave aesthetics

A vibrant digital illustration of a bustling Tokyo street intersection at night, rendered in a beautiful blend of traditional Japanese Ukiyo-e woodblock style and neon synthwave aesthetics.

概要

エンドポイント
POST /v2/images/generate
モデルID
dall-e-3
パラメータキー
dalleParams
モダリティ
画像
プロバイダー
OpenAI
平均完了時間
~20s

機能

アスペクト比1:1, 3:2, 2:3
平均時間~20秒

クイックスタート

APIキーを添えて POST /v2/images/generate に1回リクエストを送るだけで DALL-E 3 による生成が始まります。レスポンスには、ポーリングまたはWebhookで受け取れる jobId が返ります。

curl -X POST https://api.apiframe.ai/v2/images/generate \
  -H "X-API-Key: afk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
        "prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
        "model": "dall-e-3",
        "dalleParams": {
            "style": "vivid"
        }
    }'
import requests

response = requests.post(
    "https://api.apiframe.ai/v2/images/generate",
    headers={
        "X-API-Key": "afk_your_api_key_here",
        "Content-Type": "application/json",
    },
    json={
        "prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
        "model": "dall-e-3",
        "dalleParams": {
            "style": "vivid"
        }
    },
)
print(response.json())  # { "jobId": "...", "status": "QUEUED" }
const response = await fetch("https://api.apiframe.ai/v2/images/generate", {
  method: "POST",
  headers: {
    "X-API-Key": "afk_your_api_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
    "model": "dall-e-3",
    "dalleParams": {
      "style": "vivid"
    }
  }),
});
const { jobId } = await response.json();
console.log(jobId);

レスポンスとジョブのライフサイクル

生成は非同期で行われます。送信が成功すると 202 AcceptedjobId が返ります。ステータスが COMPLETED になるまで GET /v2/jobs/{id} をポーリングする(または webhook_url を指定する)と、result フィールドに出力URLが格納されます。

1. 送信レスポンス (202)

{
  "jobId": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
  "status": "QUEUED"
}

2. 結果をポーリング

curl https://api.apiframe.ai/v2/jobs/JOB_ID \
  -H "X-API-Key: afk_your_api_key_here"
import requests, time

while True:
    job = requests.get(
        "https://api.apiframe.ai/v2/jobs/JOB_ID",
        headers={"X-API-Key": "afk_your_api_key_here"},
    ).json()
    if job["status"] in ("COMPLETED", "FAILED"):
        break
    time.sleep(2)
print(job["result"])
let job;
do {
  await new Promise((r) => setTimeout(r, 2000));
  job = await fetch("https://api.apiframe.ai/v2/jobs/JOB_ID", {
    headers: { "X-API-Key": "afk_your_api_key_here" },
  }).then((r) => r.json());
} while (job.status !== "COMPLETED" && job.status !== "FAILED");
console.log(job.result);

入力スキーマ

DALL-E 3 エンドポイントが受け付けるリクエストパラメータです。モデル固有のオプションは、下記のパラメータオブジェクトの中にネストされます。

パラメータ 必須 デフォルト 許可値 / 範囲 説明
prompt string 必須 生成する内容のテキスト説明。
model string 必須 "dall-e-3" "dall-e-3" このエンドポイントのモデル識別子。
dalleParams.style string 任意 "vivid" "vivid", "natural" Style

よくある質問

DALL-E 3 APIに関するよくある質問をまとめました。

DALL-E 3 の API はありますか?

はい。Apiframe は単一の REST エンドポイント(`POST /v2/images/generate`、`model: "dall-e-3"`)で DALL-E 3 を提供します。対応するすべてのモデルで、統一されたAPI・キー・請求をご利用いただけ、OpenAI の個別アカウントは不要です。

DALL-E 3 API の料金はいくらですか?

DALL-E 3 は Apiframe のシンプルな従量課金制で、成功した生成分のみお支払いいただきます。プランと数量割引は料金ページをご覧ください。

DALL-E 3 API はどのように呼び出しますか?

`X-API-Key` と、`model: "dall-e-3"` を含む JSON ボディを添えて `/v2/images/generate` に POST リクエストを送ります。レスポンスで返る `jobId` を `GET /v2/jobs/{id}` でポーリングするか、Webhook で結果を受け取ります。

DALL-E 3 はどんなパラメータに対応していますか?

DALL-E 3 は、共通の `prompt`・`webhook_url` に加えて、`dalleParams` の下にネストされた 1 個のモデル固有パラメータを受け付けます。型やデフォルト値を含む一覧は上記の入力スキーマをご覧ください。

解決しませんでしたか?

DALL-E 3 API で開発を始めよう

APIキーを取得すれば数分で DALL-E 3 を統合できます — 従量課金。

無料クレジットですぐに開始
すべてのモデルを1つのAPIで
Webhook・SDK・冪等性に対応
プロバイダーのアカウント不要

ご質問はありますか? Discordに参加 または 営業に問い合わせる