柔軟なパラメータ
output_format, prompt, seed, source_image_url, strength を含む 5 個のドキュメント済みパラメータを設定できます。
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 |
| モダリティ | 画像 |
| タスク種別 | 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 に qwen-image-remix-image のモデル ID とパラメータを指定して POST リクエストを送信します。
タスクをポーリングするかコールバックに従って、完了した qwen-image-remix-image の結果を取得します。
output_format, prompt, seed, source_image_url, strength を含む 5 個のドキュメント済みパラメータを設定できます。
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).
テキスト prompt からビジュアルアセットを作成します。
prompt に沿って既存画像を変換します。
SDK で再現可能な生成を行います。
quickstart に表示されるモデル ID を渡してください。
はい。呼び出しまたは単位ごとの従量課金です。