
Text to Image
Create AI images from text prompts
Free to try Alibaba Wan 2.7 API for cost-effective image editing with multi-image input, prompt-guided changes, seed control, and stable visual output. Built for free testing and stable API workflows.
Try the AI Image Generator now
| Parameters | Price | Original Price | Discount |
|---|
Wan 2.7 Image Edit API on Flaq AI provides Alibaba image-to-image editing for developers and creative teams that need prompt-based visual transformation through a stable API route. This affordable Wan image editing API integration helps transform existing images with natural-language instructions, multi-image input support, and flexible aspect ratio output. It is built for practical design iteration, marketing refreshes, product visuals, and scalable creative operations.
Note Please ensure prompts and uploaded images comply with Alibaba safety and usage guidelines. If an error occurs, review the input for restricted content, simplify the request, and try again.
Wan 2.7 Image Edit vs. Wan 2.7 Image Pro Edit
Wan 2.7 Image Pro Edit is positioned for more premium editing output. Wan 2.7 Image Edit prioritizes affordability and efficient creative transformation for everyday production work.
Wan 2.7 Image Edit vs. Qwen Image 2 Edit
Qwen Image 2 Edit offers Alibaba image editing with strong prompt control. Wan 2.7 Image Edit gives teams a Wan-specific editing route for flexible image-to-image workflows.
Wan 2.7 Image Edit vs. GPT Image Edit
GPT Image Edit provides OpenAI-native editing behavior. Wan 2.7 Image Edit offers an Alibaba alternative for scalable, cost-effective visual editing on Flaq AI.
Wan 2.7 Image Edit vs. Nano Banana Edit
Nano Banana Edit focuses on Gemini image editing. Wan 2.7 Image Edit provides Alibaba-powered editing with multi-image support and flexible production routing.
Wan 2.7 Image Edit vs. Seedream Edit
Seedream Edit is strong for commercial visual transformation. Wan 2.7 Image Edit is useful for affordable, API-driven edits across marketing, ecommerce, and social workflows.
Explore several AI creation tools for quick image and video workflows in your browser, then scale successful ideas with Flaq AI's production-ready model APIs. Flaq AI provides a unified API layer for all models, making it easy to use and scale your workflows.

Create AI images from text prompts

Create AI images from images and text prompts

Create AI videos from text prompts

Animate images into AI videos

Create AI images and videos in one unified workspace

Create consistent videos from reference media

Build visual AI image and video workflows on an infinite canvas
// Step 1: Submit generation request
const response = await fetch('https://api.flaq.ai/api/v1/image/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'wan-v2.7-image-edit',
prompt: 'Change the background to a beach scene',
width: 16,
height: 9,
image_url_list: ['https://example.com/image1.jpg']
})
});
const { data } = await response.json();
const taskId = data.task_id;
// Step 2: Poll for results
const taskId = data.task_id;
const pollResult = async (taskId) => {
const res = await fetch(`https://api.flaq.ai/api/v1/image/${taskId}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
return res.json();
};
while (true) {
const pollResultData = await pollResult(taskId);
const status = pollResultData.data.task_status;
if (status === 'succeed') {
console.log(pollResultData.data.task_result.images[0].url);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, 10000));
}
# Step 1: Submit generation request
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/image/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'wan-v2.7-image-edit',
'prompt': 'Change the background to a beach scene',
'width': 16,
'height': 9,
'image_url_list': ['https://example.com/image1.jpg']
}
)
result = response.json()
task_id = result['data']['task_id']
# Step 2: Poll for results
task_id = response.json()['data']['task_id']
poll_url = f"https://api.flaq.ai/api/v1/image/{task_id}"
while True:
poll_result = requests.get(poll_url, headers={'Authorization': 'Bearer YOUR_API_KEY'}).json()
status = poll_result['data']['task_status']
if status == 'succeed':
print(poll_result['data']['task_result']['images'][0]['url'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)
# Step 1: Submit generation request
curl -X POST https://api.flaq.ai/api/v1/image/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "wan-v2.7-image-edit",
"prompt": "Change the background to a beach scene",
"width": 16,
"height": 9,
"image_url_list": ["https://example.com/image1.jpg"]
}'
# Step 2: Poll for results
# Replace {task_id} with the task_id returned from the submit response
curl -X GET "https://api.flaq.ai/api/v1/image/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"