
Text to Image
Create AI images from text prompts
Create character videos with Kling 3.0 Motion Control API by Kuaishou. Guide motion with an image, reference video, and prompt through Flaq AI's unified video API.
// 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: 'kling-3.0-motion-control',
prompt: 'Animate the character in the reference image using the dance movements from the reference video',
images: ['https://example.com/character.jpg'],
videos: ['https://example.com/dance-reference.mp4'],
character_orientation: 'video',
resolution: '720p',
keep_original_sound: true
})
});
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': 'kling-3.0-motion-control',
'prompt': 'Animate the character in the reference image using the dance movements from the reference video',
'images': ['https://example.com/character.jpg'],
'videos': ['https://example.com/dance-reference.mp4'],
'character_orientation': 'video',
'resolution': '720p',
'keep_original_sound': True
}
)
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": "kling-3.0-motion-control",
"prompt": "Animate the character in the reference image using the dance movements from the reference video",
"images": ["https://example.com/character.jpg"],
"videos": ["https://example.com/dance-reference.mp4"],
"character_orientation": "video",
"resolution": "720p",
"keep_original_sound": true
}'
# 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 |
|---|
Kling 3.0 Motion Control API from Kuaishou delivers AI character motion transfer for developers and creative teams. This motion control API integration helps you drive a reference character image with motion from a reference video, guided by natural-language prompts. Built on Kuaishou's Kling 3.0 motion control pipeline, the model focuses on character-oriented animation workflows, while the API provides reliable integration with optional original-sound retention for production use on Flaq AI.
Note Please ensure your prompts and uploaded media comply with Kuaishou's content safety guidelines. If an error occurs, review restricted content, adjust inputs, and try again.
Kling 3.0 Motion Control vs. Kling 2.6 Motion Control
Kling 2.6 Motion Control shares the same motion control parameter surface on Flaq AI at a lower price tier. Kling 3.0 Motion Control is the 3.0 generation endpoint for the same image-plus-video motion transfer workflow when you want the newer model line.
Kling 3.0 Motion Control vs. Kling Image-to-Video
Kling Image-to-Video animates stills from prompts alone. Kling 3.0 Motion Control API requires a reference video so motion, timing, and performance cues come from real footage—better when you need faithful motion retargeting onto a character image.
Kling 3.0 Motion Control vs. Runway Act-One / Motion Tools
Runway offers strong performance-driven creative tools in a studio-centric UI. Kling 3.0 Motion Control API focuses on programmatic image-and-video motion transfer with orientation controls and optional original-sound retention for developer pipelines.
Kling 3.0 Motion Control vs. Pika Character Motion
Pika emphasizes stylized animation and approachable creative interfaces. Kling 3.0 Motion Control provides API-first access, HD resolution options, and production-oriented motion transfer for scalable character workflows.
Kling 3.0 Motion Control vs. Luma Character Animation
Luma is known for fast generative video experiences. Kling 3.0 Motion Control API differentiates with explicit character orientation choices, reference-video-driven motion transfer, and predictable Flaq AI integration for production automation.
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