
AI Text to Image Generator
Create polished images from prompts with leading AI image models, flexible settings, and a fast browser-based workflow.
Free to try Wan 2.7 Lora API for Alibaba image-to-video animation, cinematic motion, character shots, and scalable video workflows. Built for creators.
// Step 1: Submit generation request
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-2.7-lora-image-to-video',
prompt: 'The girl is dancing',
image_url: 'https://example.com/source-image.jpg',
resolution: '1080p',
duration: 5,
audio_url: 'https://example.com/background-audio.mp3',
seed: 4,
negative_prompt: 'other people'
})
});
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));
}
# Step 1: Submit generation request
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-2.7-lora-image-to-video',
'prompt': 'The girl is dancing',
'image_url': 'https://example.com/source-image.jpg',
'resolution': '1080p',
'duration': 5,
'audio_url': 'https://example.com/background-audio.mp3',
'seed': 4,
'negative_prompt': 'other people'
}
)
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)
# Step 1: Submit generation request
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-2.7-lora-image-to-video",
"prompt": "The girl is dancing",
"image_url": "https://example.com/source-image.jpg",
"resolution": "1080p",
"duration": 5,
"audio_url": "https://example.com/background-audio.mp3",
"seed": 4,
"negative_prompt": "other people"
}'
# 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 2.7 Lora Image-to-Video API on Flaq AI provides advanced Alibaba video animation access for teams that need to turn still images into high-quality cinematic motion. This Wan Lora API integration helps developers animate source visuals with prompt-guided camera movement, scene dynamics, and stable subject preservation. It is designed for professional creative production, ecommerce motion, social videos, storyboards, and scalable video workflows.
Note Please ensure uploaded images and prompts comply with Alibaba and Flaq AI safety requirements. If an error occurs, adjust the image or motion prompt and try again.
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 polished images from prompts with leading AI image models, flexible settings, and a fast browser-based workflow.

Upload a reference image, guide edits with prompts, and transform visuals for design, marketing, and creative production.

Turn written scene ideas into short AI videos with model selection, motion prompts, and practical generation controls.

Animate reference images into smooth AI video clips for products, portraits, social posts, and creative concepts.