まだ画像はありません。フォームを送信して画像を生成してください。
さまざまなユースケースとパラメータ設定を確認できます
透明な価格設定、隠れた手数料なし。使用量に応じてお支払い。
| ルールとモダリティ | Channel | クレジット | 価格(USD) | 公式/参考価格 | 1日の節約額 |
|---|---|---|---|---|---|
test imageQwen | Regular | 999per run | $4.541 | - | - |
qwen-image-2-1 の完全ガイド
ApiPass 上の Qwen-Image-2.1 を使って、テキストからの画像生成、画像からの画像編集、透過アセット、複数参照ワークフロー、ローカル編集を、開発者に使いやすい 1 つの API で構築できます。Qwen Image 2.1 は、高品質なクリエイティブおよび制作ワークフロー向けに設計された、コンパクトで効率的な画像モデルです。

Qwen Image 2.1 は、統合型の画像生成・編集に対応した Alibaba のコンパクトな AI 画像モデルです。テキストからの画像作成、参照画像ベースの画像編集、ネイティブな透過背景出力、最大 10 枚の画像を使った複数参照合成、マスクベースのローカル編集に対応し、人物、商品、テキストの再現性も向上しています。ApiPass を通じて、開発者は 1 つのモデル名 qwen/qwen-image-2-1 を使用でき、アダプターは参照画像が提供されていない場合はテキストから画像へのルートを、image_urls に画像が含まれている場合は画像から画像へのルートを自動的に選択します。
自然言語プロンプトから洗練されたビジュアルを生成します。Qwen Image 2.1 は、ポートレート、商品ビジュアル、イラスト、マーケティング用グラフィック、ソーシャルコンテンツ、ポスター、その他のクリエイティブアセットを、豊かなディテールと優れた美的品質で作成できます。
テキスト指示を使って既存の画像を変換します。可能な限り元画像の視覚構造を保ちながら、オブジェクト、衣服、表情、背景、スタイル、シーンの詳細を変更できます。
最大 10 枚の参照画像を使って、複数アセットの合成、バーチャル試着、商品配置、シーン構築を行えます。対象を絞った変更には、参照画像を正確に 1 枚指定したうえで mask_url を提供し、白いマスク領域のみを再生成します。
複数のアスペクト比で、1K またはネイティブ 2K 解像度の高精細なビジュアルを作成できます。2K 生成は、商品ビジュアル、マーケティングアセット、ポスター、ソーシャルコンテンツ、本番制作に対応したクリエイティブワークフローに最適です。
別途背景除去ステップに頼らず、透過ビジュアルアセットを直接生成できます。透過背景出力はアルファ付きの PNG または WebP を使用し、JPEG/JPG 出力と組み合わせることはできません。
複数の視覚入力から、一貫性のある 1 つの結果を作成します。人物を集合写真にまとめたり、衣服やアクセサリーを合わせたり、商品を配置したり、個別のアセットからインテリアシーンを構築できます。
mask_url を使用して、編集が適用される場所を制御します。白いマスク領域は再生成され、黒い領域は変更されません。マスク編集は参照画像を正確に 1 枚指定して使用する必要があり、透過背景と組み合わせることはできません。
Qwen Image 2.1 は、ポートレートのアイデンティティ一貫性を向上させ、商品の特徴的なディテールを保持し、ポスター、広告、インフォグラフィック、ソーシャルグラフィックなど、テキスト量の多いデザインをより効果的に扱えます。
ユーザーが自然言語プロンプトから、ポートレート、イラスト、コンセプトアート、マーケティングビジュアル、ソーシャルコンテンツを作成できるテキスト画像生成プロダクトを構築できます。
ユーザーがシンプルなテキスト指示で、オブジェクト、背景、衣服、表情、スタイル、または選択した領域を変更できる画像エディターを作成できます。
キャンペーンビジュアルの生成、商品背景の更新、カタログコンテンツの作成を行い、編集をまたいで形状、質感、テキストなどの重要な商品ディテールを保持できます。
複数参照入力を使用して、人物と衣服、靴、バッグ、帽子、アクセサリーを組み合わせ、ショッピングやスタイリング体験向けの統一感のあるファッションビジュアルを作成できます。
商品、ステッカー、デザイン要素、再利用可能なクリエイティブコンテンツ向けの透過 PNG または WebP アセットを、プロンプトまたはソース画像から直接作成できます。
ApiPass は、モデルホスティング、GPU インフラ、または個別の上流ルートを管理することなく Qwen Image 2.1 にアクセスできる、開発者に使いやすい方法を提供します。
テキストから画像、および画像から画像の両方のワークフローに qwen/qwen-image-2-1 を使用します。ApiPass は、image_urls に参照画像が含まれているかどうかに基づいてリクエストを自動的にルーティングします。
/api/v1/jobs/createTask でタスクを作成し、返された taskId を使って /api/v1/jobs/recordInfo で進捗と結果を照会します。callBackUrl が指定されている場合、ApiPass は完了通知をあなたのエンドポイントに投稿します。
任意の channel パラメーターを使用して、auto、starter、regular、official のルーティングを選択できます。auto では、ApiPass がリアルタイムの価格と安定性に基づいて、利用可能なプロバイダー間でタスクを割り当てます。
Qwen Image 2.1 は 1K と 2K の出力解像度ティアに対応しています。2K はより詳細な画像を生成できますが、1K より生成に時間がかかる場合があります。
ApiPass は、チームが高価なインフラを管理することなく、アイデアを検証し、本番ワークロードをスケールできるよう、画像生成 API への柔軟でコストを意識したアクセスを提供するよう設計されています。
新規ユーザーは、本番利用に移行する前に、無料クレジットを使ってプロンプト、画像入力、編集ワークフロー、透過背景、結果品質をテストできます。
ApiPass Playground を使用して、プロンプトをテストし、対応する参照画像をアップロードし、生成と編集のワークフローを比較し、結果画像をブラウザーで直接確認できます。
認証用の ApiPass API key を作成します。Qwen Image 2.1 エンドポイントを呼び出す際は、Authorization: Bearer YOUR_API_KEY ヘッダーで使用します。
model qwen/qwen-image-2-1 と、prompt、任意の image_urls、mask_url、aspect_ratio、resolution、background、output_format、enhance_prompt、seed を含む input オブジェクトを指定して、/api/v1/jobs/createTask に POST リクエストを送信します。
返された taskId を使用して /api/v1/jobs/recordInfo を照会します。非同期連携では、タスク作成時に callBackUrl を指定すると、タスクが終端状態に達したときに ApiPass があなたのエンドポイントへ通知します。
すべてのAPIはBearer Tokenによる認証が必要です。
Authorization: Bearer
Submit a new Qwen Image 2.1 text-to-image or image-to-image generation task
The API accepts a JSON payload with the following structure:
1{
2 "model": "qwen/qwen-image-2-1",
3 "callBackUrl": "string (optional)",
4 "channel": "auto",
5 "input": {
6 "prompt": "string",
7 "image_urls": ["string"],
8 "mask_url": "string",
9 "aspect_ratio": "string",
10 "resolution": "string",
11 "background": "string",
12 "output_format": "string",
13 "enhance_prompt": true,
14 "seed": 0
15 }
16}model必要stringThe model name to use for generation.
"qwen/qwen-image-2-1"
callBackUrlオプションstringCallback URL for task completion notifications. If omitted, no callback will be sent.
"https://your-domain.com/api/callback"
channelオプションstringOptional APIPASS provider routing channel. The default channel is auto; APIPASS automatically allocates tasks across available providers based on real-time pricing and stability metrics. starter is ultra-low-cost with limited quotas and weaker stability. regular is standard and much cheaper than official APIs with moderate stability. official uses the model native API with high stability, fast task execution, and official pricing.
The default channel is auto. APIPASS automatically allocates tasks across available providers based on real-time pricing and stability metrics. starter is ultra-low-cost with limited quotas and weaker stability; regular is standard and much cheaper than official APIs with moderate stability; official uses the model native API with high stability, fast task execution, and official pricing.
利用可能なオプション:
auto
The input object contains the following parameters:
input.prompt必要stringText prompt for text-to-image generation or image editing. Maximum length: 5000 characters.
Describe the subject, style, lighting, composition, and editing target. The prompt can be used for both text-to-image generation and image editing.
"A cinematic mountain lake at sunrise with mist and reflective water"
input.image_urlsオプションarray(URL)Reference image URLs. Supports 1 to 10 images. Supported formats: JPEG, PNG, and WebP. Maximum size: 30 MB and 25 MP per image.
When this list is non-empty, the adapter automatically uses the upstream image-to-image route. Compatible aliases are accepted for legacy integrations, but new calls should use image_urls.
["https://example.com/reference.png"]
input.mask_urlオプションstringOptional mask URL for local image editing. White areas indicate the generation area.
Use a white mask region to indicate the area to regenerate. This parameter is only valid with exactly one reference image and cannot be used with transparent background.
"https://example.com/mask.png"
input.aspect_ratioオプションstringAspect ratio of the generated image.
For text-to-image requests, the default is 3:2. For image-to-image requests, the default is auto. auto only applies when a reference image is provided, and this parameter is ignored during mask-based local editing.
利用可能なオプション:
"16:9"
input.resolutionオプションstringResolution of the generated image. Default: 1K.
2K generation may take longer than 1K.
利用可能なオプション:
"1K"
input.backgroundオプションstringBackground mode for the output image. Default: opaque.
Transparent background outputs an image with alpha in PNG/WebP format and cannot be combined with jpeg or jpg output.
利用可能なオプション:
"opaque"
input.output_formatオプションstringOutput image format. Default: png.
jpg is accepted and normalized to jpeg. jpeg cannot be combined with transparent background.
利用可能なオプション:
"png"
input.enhance_promptオプションbooleanWhether to rewrite the prompt into a more complete scene description before generation. Default: true.
true
input.seedオプションnumberRandom seed used to reproduce the same result when the model version, prompt, and parameters are unchanged. Default: 0.
0
1curl -X POST "https://api.apipass.dev/api/v1/jobs/createTask" \
2 -H "Content-Type: application/json" \
3 -H "Authorization: Bearer YOUR_API_KEY" \
4 -d '{
5 "model": "qwen/qwen-image-2-1",
6 "callBackUrl": "https://your-domain.com/api/callback",
7 "channel": "auto",
8 "input": {
9 "prompt": "A cinematic mountain lake at sunrise with mist and reflective water",
10 "aspect_ratio": "16:9",
11 "resolution": "1K",
12 "background": "opaque",
13 "output_format": "png",
14 "enhance_prompt": true,
15 "seed": 0
16 }
17 }'1{
2 "code": 200,
3 "message": "success",
4 "data": {
5 "taskId": "task_12345678"
6 }
7}codeStatus code, 200 for success, others for failure
messageResponse message, error description when failed
data.taskIdTask ID for querying task status and results

flux
flux
Generate photorealistic images with robust text
開始価格
0 クレジット
Nano Banana 2 Lite, aka Gemini 3.1 Flash-Lite Image, is a newly released image model from Google DeepMind built for fast 1K image generation, efficient creative iteration, prompt-based image editing, and responsive visual output in product-facing creative scenarios.
開始価格
0 クレジット
OpenAI
OpenAI
Generate intentionally designed visuals with less prompting using the latest OpenAI GPT Image 2 model.
開始価格
0 クレジット
Nano Banana now allows you to freely draw on edited images, bringing you a completely new experience. Simply click on the image to draw whatever you want. You can also add text and details, and Gemini will do the rest.
開始価格
0 クレジット
Fast image generation model built on Gemini 3.1 Flash Image. Supports text-to-image, image editing, multi-image fusion with up to 14 reference images, Google Search grounding, and outputs up to 4K resolution.
開始価格
0 クレジット
seedream
seedream
開始価格
0 クレジット
grok
grok
Grok Imagine is xAI’s AI video generation model for creating high-quality videos with realistic motion, native audio, and synchronized speech. Grok Imagine 1.5 introduces faster generation speeds, improved motion physics, and stronger visual consistency for modern AI video applications.
開始価格
0 クレジット
qwen
qwen
Generate realistic 2K images with structured text
開始価格
0 クレジット
seedream
seedream
開始価格
0 クレジット
OpenAI
OpenAI
Bring your ideas to life with sharper, faster, more precise image generation using the GPT Image 2.5 API.
開始価格
0 クレジット
wan
wan
Generate images with cinematic precision through high-fidelity text-to-image synthesis and structural editing.
開始価格
0 クレジット
seedream
seedream
Gemini said Generate images with lightning-fast efficiency and high-fidelity detail through a streamlined, lightweight architecture optimized for instant creative expression.
開始価格
0 クレジット
qwen
qwen
Generate realistic 2K images with structured text
開始価格
0 クレジット
Luma
Luma
開始価格
0 クレジット
seedream
seedream
開始価格
0 クレジット