コンテンツへスキップ

Ideogram V3 Character

統合

モデルID ideogram/character
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/ideogram/character?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",
    "reference_image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

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

このリクエスト: $0.15 150 APIクレジット このページで実行

APIキーを取得
Ideogram 画像編集 参照入力 #character-consistency

参照画像を使ってキャラクターの一貫性を保つIdeogram V3生成

Ideogram · 画像

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

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

リクエストを作成

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

•必須

画像のマスク領域に塗りつぶす内容を説明するプロンプト。

•必須
ファイルをドロップ、または

JPEG、PNG、WebP 形式のキャラクター参照画像。すべてのキャラクター参照画像の合計サイズは 10 MB 以下です。現在は 1 枚のみ対応しており、追加画像は無視されます。

rendering_speed デフォルト BALANCED

レンダリング速度の設定です。

image_size デフォルト square_hd

出力画像に使用する解像度です。

num_images デフォルト 1

生成する画像数。

詳細設定 negative_prompt · images · reference_mask_urls · style · seed · expand_prompt · style_codes · color_palette
デフォルト

不要な画像コンテンツを指定します。ネガティブプロンプトの説明より、メインプロンプトの説明が優先されます。

image_urls
ファイルをドロップ、または

JPEG、PNG、WebP 形式のスタイル参照画像。合計サイズは 10 MB 以下である必要があります。

ファイルをドロップ、または

JPEG、PNG、WebP 形式のキャラクター参照マスク。すべてのキャラクター参照の合計サイズは 10 MB 以下です。現在使用されるマスクは 1 枚のみで、追加マスクは無視されます。

style デフォルト AUTO

生成に使用するスタイルの種類。style_codes とは同時に使用できません。

乱数生成に使用するシード値です。

8 文字の 16 進数文字列として指定する画像スタイルコード。これを使用する場合は style_reference_images と style の両方を省略してください。

生成中に使用するカラーパレット。name でプリセットを指定するか、members で明示的な 16 進数カラーを指定します。必要に応じて重みも指定できます。

POST /run/ideogram/character?wait=20 見積もり → $0.15
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/ideogram/character?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",
    "reference_image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

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

このリクエストを実行

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

Ideogram V3 Characterについて

`prompt`と`reference_image_urls`内の参照画像(使用されるのは1枚のみ)からキャラクター画像を生成します。任意のスタイル参照は`image_urls`に指定し、`style_codes`、`color_palette`、`reference_mask_urls`でさらに細かく制御できます。`rendering_speed`はTURBO、BALANCED、QUALITYのいずれかで、`num_images`は最大8です。

パラメータ

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

名前型 デフォルト許可される値 説明
image_urls任意 images
型url[] · image
JPEG、PNG、WebP 形式のスタイル参照画像。合計サイズは 10 MB 以下である必要があります。
rendering_speed任意
型enum
デフォルトBALANCED
TURBOBALANCEDQUALITY
レンダリング速度の設定です。
color_palette任意
型object
生成中に使用するカラーパレット。name でプリセットを指定するか、members で明示的な 16 進数カラーを指定します。必要に応じて重みも指定できます。
color_palette.members任意
型object[]
パレットの色を定義するパレットメンバーのリストです。
color_palette.members[].rgb必須
型object
RGB で表したパレットメンバーの色です。
color_palette.members[].color_weight任意
型number | null
デフォルト0.5
0.05 – 1
パレット内でこの色に割り当てる重みです。
color_palette.name任意
型enum
EMBERFRESHJUNGLEMAGICMELONMOSAICPASTELULTRAMARINE
カラーパレットのプリセット選択です。
style_codes任意
型string[]
8 文字の 16 進数文字列として指定する画像スタイルコード。これを使用する場合は style_reference_images と style の両方を省略してください。
style任意
型enum
デフォルトAUTO
AUTOREALISTICFICTION
生成に使用するスタイルの種類。style_codes とは同時に使用できません。
expand_prompt任意
型boolean
デフォルトtrue
リクエスト生成における MagicPrompt の使用切り替えです。
num_images任意 num_outputs
型integer
デフォルト1
1 – 8
生成する画像数。
seed任意
型integer | null
乱数生成に使用するシード値です。
prompt必須
型string
画像のマスク領域に塗りつぶす内容を説明するプロンプト。
image_size任意
型object
デフォルトsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
出力画像に使用する解像度です。
negative_prompt任意
型string
デフォルト
不要な画像コンテンツを指定します。ネガティブプロンプトの説明より、メインプロンプトの説明が優先されます。
reference_image_urls必須
型url[] · image
JPEG、PNG、WebP 形式のキャラクター参照画像。すべてのキャラクター参照画像の合計サイズは 10 MB 以下です。現在は 1 枚のみ対応しており、追加画像は無視されます。
reference_mask_urls任意
型url[] · image
JPEG、PNG、WebP 形式のキャラクター参照マスク。すべてのキャラクター参照の合計サイズは 10 MB 以下です。現在使用されるマスクは 1 枚のみで、追加マスクは無視されます。
必須 正式名称(こちらも使用可能)

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

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/character",
  "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": 150,
    "usd": "0.15",
    "charged": 150,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "reference_image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "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
      }
    ],
    "seed": 42
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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}
seed
integer乱数生成に使用するシード値です。

その他のモデル: 画像編集

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