コンテンツへスキップ

Luma Uni-1 Text to Image Max

統合

モデルID luma/agent/uni-1/v1/max
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/luma/agent/uni-1/v1/max?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエスト: $0.102 102 APIクレジット · ≈ ₽10.97 このページで実行

APIキーを取得
Luma AI テキストから画像 参照入力 #realism#typography#stylized

タイポグラフィ、mangaスタイル、最大9枚の参照画像に対応するUni-1 text-to-imageの最高品質ティア

Luma AI · 画像

最初の結果がここに表示されます

以下でリクエストを作成し、APIキーで実行してください。出力はストレージにコピーされ、永久保存または無料で7日保存されます。

リクエストを作成

コントロールはモデルスキーマから生成されます。値を変更するとコードと価格が更新されます。

•必須 88 / 6000

目的の出力画像のテキスト説明。

aspect_ratio

出力画像の横幅と高さの比率。

詳細設定 images · style · output_format · enable_web_search · enable_safety_checker
reference_image_urls
ファイルをドロップ、または · 9まで

生成を導く参照画像の任意のURLリスト。

style デフォルト auto

生成画像に適用するビジュアルスタイル。

output_format

生成画像のエンコードに使用する形式。

POST /run/luma/agent/uni-1/v1/max?wait=20 見積もり → $0.102
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/luma/agent/uni-1/v1/max?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエストを実行

キーはこのブラウザ内に保持されます。Doitong APIにのみ送信され、「記憶する」にチェックを入れた場合のみlocalStorageに保存されます。 APIキーを取得

Luma Uni-1 Text to Image Maxについて

Uni-1ファミリーの高品質ティアで、最大6000文字の`prompt`から1枚の画像を生成します。3:1~1:3の9種類のアスペクト比、autoまたはmangaのスタイル、pngまたはjpeg出力を選択できます。`reference_image_urls`で最大9枚の参照画像を渡せます。`enable_web_search`を有効にすると、モデルがウェブ上の参照情報を利用できます。

パラメータ

正式名称またはネイティブ名のいずれか一方を送信してください。両方は送信しないでください。 正式名称

名前型 デフォルト許可される値 説明
prompt必須
型string
≤ 6,000文字
目的の出力画像のテキスト説明。
aspect_ratio任意
型enum
3:12:116:93:21:12:39:161:21:3
出力画像の横幅と高さの比率。
style任意
型enum
デフォルトauto
automanga
生成画像に適用するビジュアルスタイル。
output_format任意
型enum
pngjpeg
生成画像のエンコードに使用する形式。
reference_image_urls任意 images
型url[] · image
≤ 9項目
生成を導く参照画像の任意のURLリスト。
enable_safety_checker任意
型boolean
デフォルトtrue
呼び出し元に権限がある場合、false に設定するとスクリーニングを緩和できます。
必須 正式名称(こちらも使用可能)

ファイルパラメータには、公開されたhttps:// URL、10 MBまでのdata: URI、またはアップロードしたファイルのfile_urlを指定します。 ファイル

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "luma/agent/uni-1/v1/max",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 102,
    "usd": "0.102",
    "charged": 102,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ファイルの保存期間を選択すべてのoutputs[].urlはストレージ上のコピーです。アカウント設定または?storage=により、永久保存(GB・月単位で有料)または無料で7日保存できます。
すべてのモデルで同じ形式画像、動画、音声のいずれでも、type、url、content_type、width、height、durationが含まれます。outputはモデル独自の結果オブジェクトです。
出力フィールド
images
array of object {url, content_type, file_name, file_size}生成された画像または画像群。

その他のモデル: テキストから画像

AIエージェント向け:このページのMarkdown版はこちらです: https://doitong.com/ja/developers/models/luma/agent/uni-1/v1/max.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt