
Text to Image
Create AI images from text prompts
Free to try Alibaba Wan 3.0 API for Image-to-Video and animate a first frame toward a chosen end frame for controlled visual storytelling on Flaq AI.
const response = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'wan-3.0-image-to-video',
prompt: 'The camera glides forward as daylight gradually shifts into a warm evening glow',
image_url: 'https://example.com/start-frame.jpg',
image_end_url: 'https://example.com/end-frame.jpg',
duration: 8,
resolution: '1080p',
aspect_ratio: '16:9',
sound: true,
seed: 42
})
});
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/video/${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.videos[0].url);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, 10000));
}
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'wan-3.0-image-to-video',
'prompt': 'The camera glides forward as daylight gradually shifts into a warm evening glow',
'image_url': 'https://example.com/start-frame.jpg',
'image_end_url': 'https://example.com/end-frame.jpg',
'duration': 8,
'resolution': '1080p',
'aspect_ratio': '16:9',
'sound': True,
'seed': 42
}
)
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/video/{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']['videos'][0]['url'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)
curl -X POST https://api.flaq.ai/api/v1/video/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "wan-3.0-image-to-video",
"prompt": "The camera glides forward as daylight gradually shifts into a warm evening glow",
"image_url": "https://example.com/start-frame.jpg",
"image_end_url": "https://example.com/end-frame.jpg",
"duration": 8,
"resolution": "1080p",
"aspect_ratio": "16:9",
"sound": true,
"seed": 42
}'
# 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/video/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
| Parameters | Price | Original Price | Discount |
|---|
Wan 3.0 API for Image-to-Video generates a video transition between required start and end frames. Developers can combine both images with a natural-language motion prompt, flexible duration, multiple resolutions and aspect ratios, optional sound, and seed control. Flaq AI provides a task-based integration for creating, monitoring, and retrieving image-guided video results.
Note Both frame images are required. PNG images must not contain an alpha channel. Align both frame compositions with the requested aspect ratio, and review transition continuity and artifacts before publishing.
Wan 3.0 vs. Wan 2.7 Image-to-Video
Wan 2.7 can animate a start frame with optional end-frame guidance. Wan 3.0 requires both frames, making the intended beginning and ending explicit in every request.
Wan 3.0 vs. Vidu Q3 Image-to-Video
Vidu Q3 supports image-led video workflows and transition variants. Wan 3.0 offers a Wan-family path centered on mandatory start-and-end-frame control.
Wan 3.0 vs. PixVerse C1 Image-to-Video
PixVerse C1 separates first-frame animation and transition workflows. Wan 3.0 combines required endpoint images with one prompt and a consistent set of video controls.
Wan 3.0 vs. Kling 3.0 Turbo Image-to-Video
Kling 3.0 Turbo targets fast image animation. Wan 3.0 is an alternative for teams that prioritize explicit final-frame direction within an Alibaba-oriented API workflow.
Wan 3.0 vs. Veo 3.1 Image-to-Video
Veo 3.1 provides Google's image-to-video integration. Wan 3.0 gives developers another production option with required endpoint frames and flexible output settings.
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