Qwen Image Editor API
The Qwen Image Editor API lets you edit images using natural language instructions powered by the Qwen image editing model. Provide an image URL and describe the changes you want, and the API will return the edited result.
Quick Start
Edit your first image in 30 seconds
Get Your API Key
Sign in to your account to get your API key and see it automatically filled in all code examples.
Don't have an account? Sign up for free
import requests
response = requests.post(
"https://netwrck.com/fal",
json={
"api_key": "YOUR_API_KEY",
"model_name": "fal-ai/qwen-image-edit-2511",
"image_url": "https://example.com/photo.jpg",
"prompt": "Make the sky a vibrant sunset orange"
}
)
result = response.json()
print(f"Edited image: {result['images'][0]['url']}")
fetch('https://netwrck.com/fal', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
api_key: 'YOUR_API_KEY',
model_name: 'fal-ai/qwen-image-edit-2511',
image_url: 'https://example.com/photo.jpg',
prompt: 'Make the sky a vibrant sunset orange'
})
})
.then(res => res.json())
.then(result => {
console.log('Edited image:', result.images[0].url);
})
.catch(error => console.error('Error:', error));
curl -X POST https://netwrck.com/fal \
-H 'Content-Type: application/json' \
-d '{
"api_key": "YOUR_API_KEY",
"model_name": "fal-ai/qwen-image-edit-2511",
"image_url": "https://example.com/photo.jpg",
"prompt": "Make the sky a vibrant sunset orange"
}'
Interactive API Tester
Pricing & Credits
Cost Per Edit
$0.25 USD
25 credits per successful edit
Billing Policy
Success: Charged 25 credits
Failed: No charge
Only pay for successful edits
API Reference
POST /fal
Edit images using natural language instructions with Qwen AI
Request Format
Send a POST request with a JSON body containing these parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Required | Your API key for authentication. |
| model_name | string | Required | Must be "fal-ai/qwen-image-edit-2511". |
| image_url | string | Required | URL of the image to edit. Supports JPG, PNG, WEBP formats. |
| prompt | string | Required | Natural language instruction describing the edit to apply. |
Response Examples
Success Response (200 OK)
{
"images": [
{
"url": "https://fal.media/files/example/edited-image.png"
}
]
}
Error Responses
401 Unauthorized
{
"error": "Invalid API key",
"status": 401
}
402 Payment Required
{
"error": "Insufficient credits",
"status": 402
}
Netwrck