靈活的參數
可設定 5 個已記錄的參數,包括 output_format, prompt, seed, source_image_url, strength。
curl -X POST https://runapi.ai/api/v1/qwen_image/remix_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-image-remix-image",
"prompt": "製作一張黃昏杭州嘅電影感旅遊海報,湖面倒映清晰嘅中英雙語標題文字。"
}'
import { QwenImageClient } from "@runapi.ai/qwen-image";
const client = new QwenImageClient();
const result = await client.remixImage.run({
model: "qwen-image-remix-image",
prompt: "製作一張黃昏杭州嘅電影感旅遊海報,湖面倒映清晰嘅中英雙語標題文字。",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/qwen_image/remix_image",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"qwen-image-remix-image","prompt":"製作一張黃昏杭州嘅電影感旅遊海報,湖面倒映清晰嘅中英雙語標題文字。"}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/qwen_image/remix_image");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'qwen-image-remix-image',
'prompt' => '製作一張黃昏杭州嘅電影感旅遊海報,湖面倒映清晰嘅中英雙語標題文字。',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.remixImage().run({"model":"qwen-image-remix-image","prompt":"製作一張黃昏杭州嘅電影感旅遊海報,湖面倒映清晰嘅中英雙語標題文字。"});
task.waitForResult();
require "runapi/qwen_image"
client = RunApi::QwenImage::Client.new
result = client.remix_image.run(
model: "qwen-image-remix-image",
prompt: "製作一張黃昏杭州嘅電影感旅遊海報,湖面倒映清晰嘅中英雙語標題文字。"
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.remixImage.Run({"model":"qwen-image-remix-image","prompt":"製作一張黃昏杭州嘅電影感旅遊海報,湖面倒映清晰嘅中英雙語標題文字。"})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model qwen-image-remix-image \
--endpoint remix_image \
--wait
3 個版本可用
選擇任意模型,數秒內即可開始生成。
選擇任意模型,數秒內即可開始生成。
| 提供者 | Alibaba |
| 模型 ID | qwen-image-remix-image |
| 模態 | Image |
| 任務類型 | Asynchronous |
| API 端點 | /api/v1/qwen_image/remix_image |
| 輸入參數 | callback_url, model, output_format, prompt, seed, source_image_url, strength |
| 輸出格式 | png, jpeg |
| 目錄狀態 | 可正常運作 |
免費註冊後,在控制台建立 qwen-image-remix-image 的 API 金鑰。
向 /api/v1/qwen_image/remix_image 發送 POST 請求,並傳入 qwen-image-remix-image 模型 ID 和參數。
輪詢工作或按照回呼取得已完成的 qwen-image-remix-image 結果。
可設定 5 個已記錄的參數,包括 output_format, prompt, seed, source_image_url, strength。
開放 1 個公開 endpoint:remix_image。
非同步任務接受回調 URL,用於接收完成通知。
seedInteger seed for reproducible results.
promptPrompt describing the requested remix.
strengthCreative deviation from the source image, from 0 (faithful) to 1 (creative).
callback_urlWebhook URL for asynchronous task updates.
output_formatOutput image format. (png, jpeg)
source_image_urlPublic HTTPS source image URL (JPEG, PNG, or WebP; maximum 10 MB).
自動生成適合電商 catalog、但冇 studio 攝影的 lifestyle 產品相。
在落實最終美術之前,快速構思場景同角色。
大規模生成獨特封面圖同插畫,適合 blog post 同文章。
傳入 quickstart 顯示嘅 model ID。
每個 key 的 rate limit 會按使用層級而定。請查看定價頁了解最新限制。
可以——variant 只係一個旗標。只要更改 model 參數就可以切換。
在可用 streaming 的情況下,RunAPI 會端到端串流。
可以在公開 GitHub repo 開 issue,或者電郵支援團隊。