
AI Text to Image Generator
Create polished images from prompts with leading AI image models, flexible settings, and a fast browser-based workflow.
Generate videos via Alibaba Happy Horse 1.1 API with smooth motion and strong visual consistency. Stable and affordable for high-volume creative workflows. Open-Weight Happy Horse AI for flexible video generation.
// 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: 'happyhorse-1.1-text-to-video',
prompt: 'A cat playing with a ball of yarn on a sunny windowsill',
duration: 5,
resolution: '1080p',
aspect_ratio: '16:9',
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));
}
# 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': 'happyhorse-1.1-text-to-video',
'prompt': 'A cat playing with a ball of yarn on a sunny windowsill',
'duration': 5,
'resolution': '1080p',
'aspect_ratio': '16:9',
'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)
# 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": "happyhorse-1.1-text-to-video",
"prompt": "A cat playing with a ball of yarn on a sunny windowsill",
"duration": 5,
"resolution": "1080p",
"aspect_ratio": "16:9",
"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 |
|---|
Happy Horse 1.1 Text-to-Video API delivers an upgraded Alibaba video generation experience for developers, product teams, and creative studios. This professional text-to-video API integration turns natural-language prompts into polished video clips with stronger motion expression, better subject consistency, improved prompt following, and richer visual texture compared with Happy Horse 1.0. Built for scalable creative production on Flaq AI, Happy Horse 1.1 helps teams move from written ideas to production-ready video assets with affordable API access.
Note Please ensure your prompts comply with Alibaba's safety guidelines. If an error occurs, review your prompt for restricted content, adjust it, and try again.
Happy Horse 1.1 vs. Happy Horse 1.0 Text-to-Video
Happy Horse 1.0 established an affordable Alibaba video generation workflow. Happy Horse 1.1 upgrades the experience with stronger motion, better subject consistency, improved prompt following, and richer visual texture for more demanding production scenarios.
Happy Horse 1.1 vs. Wan 2.7 Text-to-Video
Wan 2.7 is a powerful Alibaba video model for advanced generation workflows. Happy Horse 1.1 focuses on practical text-to-video generation with upgraded visual quality, production-friendly API access, and strong creative performance for marketing and social content.
Happy Horse 1.1 vs. Seedance 2.5 Text-to-Video
Seedance 2.5 emphasizes upgraded ByteDance cinematic generation. Happy Horse 1.1 differentiates with Alibaba's native multimodal video direction and practical prompt-based workflows for short-form content production.
Happy Horse 1.1 vs. Veo 3.1 Fast Text-to-Video
Veo 3.1 Fast is optimized for rapid Google video generation. Happy Horse 1.1 offers an affordable Alibaba API option with improved subject consistency and visual texture for creative teams.
Happy Horse 1.1 vs. Kling 3.0 Text-to-Video
Kling 3.0 is known for character motion and stylized generation. Happy Horse 1.1 provides strong prompt following, upgraded motion expression, and flexible short-form generation for ads, short dramas, and social video 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 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.