qwen-2-edit-image API
Gebruik qwen-2-edit-image uit de Qwen 2-familie via RunAPI. Prijs per aanroep, geen abonnement en mislukte generaties worden nooit in rekening gebracht.
curl -X POST https://runapi.ai/api/v1/qwen_2/edit_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-2-edit-image",
"image_url": "https://cdn.runapi.ai/public/samples/image.jpg",
"prompt": "Generate an isometric illustration of a cozy home office with warm lighting and plants on the desk."
}'
import { Qwen2Client } from "@runapi.ai/qwen-2";
const client = new Qwen2Client();
const result = await client.editImage.run({
model: "qwen-2-edit-image",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Generate an isometric illustration of a cozy home office with warm lighting and plants on the desk.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\Qwen2\Qwen2Client;
$client = new Qwen2Client();
$result = $client->editImage->run([
'model' => 'qwen-2-edit-image',
'image_url' => 'https://cdn.runapi.ai/public/samples/image.jpg',
'prompt' => 'Generate an isometric illustration of a cozy home office with warm lighting and plants on the desk.',
]);
require "runapi/qwen_2"
client = RunApi::Qwen2::Client.new
result = client.edit_image.run(
model: "qwen-2-edit-image",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Generate an isometric illustration of a cozy home office with warm lighting and plants on the desk."
)
npx skills add runapi-ai/qwen-2 -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
qwen-2-edit-image biedt de ideale balans tussen kwaliteit en kosten binnen de Qwen 2-familie.
- Prijs per call in USD
- Mislukte generaties worden niet gefactureerd
- Streaming wanneer ondersteund door het model
- Modelskill-setup
Prijzen
Technische details
| Model-ID | qwen-2-edit-image |
| Provider | Alibaba |
| Modaliteit | image |
| Taaktype | asynchronous |
| Facturatie-eenheid | call |
| API endpoint | /api/v1/qwen_2/edit_image |
| Commerciële licentie | Ja — inbegrepen via API |
| Catalogusstatus | Operationeel |
Snelstart — qwen-2-edit-image
Zelfde structuur · variant vastgelegd in model
# Install the model skill for app development workflows
npx skills add runapi-ai/qwen-2 -g
Install the Qwen 2 skill for this app: 1. Add runapi-ai/qwen-2 with the skills installer. 2. Load SKILL.md in this workspace. 3. Use its docs, schemas, pricing notes, and setup steps when adding model features. 4. Confirm the install path when done.
Gebruik qwen-2-edit-image in vier stappen
Installeren
Installeer de modelskill voor deze modelreeks.
Configureren
Zet het modelveld op de volledige model-ID die op deze pagina staat.
Aanroepen
Stuur een getypeerde request met je prompt, inputs en callback-instellingen.
Ontvangen
Lees de task-response, webhook-callback of cached output-URL van RunAPI.
Wat is er anders aan qwen-2-edit-image
Targeted region editing from text instructions
Qwen2 text-to-image with 5 aspect ratios
Ideaal voor
Productfotografie
Genereer automatisch lifestyle-productfoto's voor e-commercecatalogi zonder studiofotografie.
Game- en concept art
Werk snel concepten uit voor omgevingen en personages voordat je doorgaat naar de definitieve art.
Illustraties voor editorial
Genereer unieke cover art en illustraties voor blogposts en artikelen op schaal.
Veelgestelde vragen over qwen-2-edit-image
Is de model-ID stabiel tussen versies?
RunAPI houdt de model-ID stabiel en verwerkt compatibele versie-updates zonder de opzet van je request te wijzigen.
Wat is de rate limit voor deze variant?
Rate limits per key schalen mee met je usage tier. Bekijk de prijzenpagina voor de actuele limieten.
Kan ik later van variant wisselen?
Ja — variant is een flag. Wissel door de modelparameter aan te passen.
Ondersteunt het streaming?
Waar streaming beschikbaar is, streamt RunAPI end-to-end.
Waar meld ik kwaliteitsproblemen?
Open een issue in de publieke GitHub-repo of mail support.