彈性參數
可設定 7 個已記錄的參數,包括 aspect_ratio, output_count, reference_image_urls, rendering_speed, source_image_url。
Remix a source image with character and style references
curl -X POST https://runapi.ai/api/v1/ideogram_v3/remix_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ideogram-v3-character-remix",
"prompt": "Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background."
}'
import { IdeogramV3Client } from "@runapi.ai/ideogram-v3";
const client = new IdeogramV3Client();
const result = await client.remixImage.run({
model: "ideogram-v3-character-remix",
prompt: "Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background.",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/ideogram_v3/remix_image",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"ideogram-v3-character-remix","prompt":"Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background."}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/ideogram_v3/remix_image");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'ideogram-v3-character-remix',
'prompt' => 'Create a movie poster for \'The Last Frontier\' with the title in bold serif at the top, a space station in the background.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.remixImage().run({"model":"ideogram-v3-character-remix","prompt":"Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background."});
task.waitForResult();
require "runapi/ideogram_v3"
client = RunApi::IdeogramV3::Client.new
result = client.remix_image.run(
model: "ideogram-v3-character-remix",
prompt: "Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.remixImage.Run({"model":"ideogram-v3-character-remix","prompt":"Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model ideogram-v3-character-remix \
--endpoint remix_image \
--wait
7 個版本可用
選擇任一模型,幾秒內即可開始生成。
選擇任一模型,幾秒內即可開始生成。
| 提供者 | Ideogram |
| 模型 ID | ideogram-v3-character-remix |
| 模態 | Image |
| 任務類型 | Asynchronous |
| API 端點 | /api/v1/ideogram_v3/remix_image |
| 計費單位 | call |
| 輸入參數 | aspect_ratio, output_count, reference_image_urls, rendering_speed, source_image_url, style, style_reference_image_urls |
| 長寬比 | 1:1, 3:4, 9:16, 4:3, 16:9 |
| 目錄狀態 | 可直接上線 |
免費註冊後,從控制台建立 ideogram-v3-character-remix 的 API 金鑰。
向 /api/v1/ideogram_v3/remix_image 傳送 POST 請求,並傳入 ideogram-v3-character-remix 模型 ID 與參數。
輪詢工作或依照回呼取得已完成的 ideogram-v3-character-remix 結果。
可設定 7 個已記錄的參數,包括 aspect_ratio, output_count, reference_image_urls, rendering_speed, source_image_url。
公開 1 個公共 endpoint:remix_image。
依 call 計量,無需訂閱。
style暫無描述。 (auto, realistic, fiction)
aspect_ratio暫無描述。 (1:1, 3:4, 9:16, 4:3, 16:9)
output_count暫無描述。 (1, 2, 3, 4)
rendering_speed暫無描述。 (turbo, balanced, quality)
source_image_url暫無描述。
reference_image_urls暫無描述。
style_reference_image_urls暫無描述。
為缺少棚拍照片的電商型錄,自動生成生活風格產品照片。
在定稿前快速發想場景與角色概念。
大規模生成部落格文章與專欄所需的獨特封面與插圖。
傳入 quickstart 顯示的 model ID。
每個金鑰的速率限制會依使用方案而調整。請查看定價頁面以了解目前限制。
可以——variant 只是旗標。只要變更 model 參數即可切換。
只要支援串流,RunAPI 就會端到端串流。
請在公開 GitHub repo 提交 issue,或寄信給支援。