Try MiniMax H3 Text-to-Video API with 2K or 768p output, six aspect ratios, and flexible 5–15 second generation through Best Image AI's unified API. 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: 'minimax-h3-text-to-video',
prompt: 'A golden retriever running through a sunlit meadow',
resolution: '2k',
duration: 8,
aspect_ratio: '16:9'
})
});
const { data } = await response.json();
const taskId = data.task_id;
MiniMax H3 Text-to-Video API turns natural-language direction into cinematic video sequences for creative tools, marketing workflows, and production applications. Its text-driven generation flow helps teams describe subjects, actions, environments, camera language, and tone while keeping the integration task-based and API-friendly on Best Image AI.
Prompt-Driven Video Generation: Translate detailed descriptions of scenes, subjects, actions, and atmosphere into moving-image concepts for creative and production workflows.
Cinematic Motion Direction: Guide camera movement, timing, framing, and visual rhythm through natural-language prompts to shape the final sequence.
Scene and Subject Coherence: Preserve relationships between characters, objects, environments, and motion as the prompt develops across a clip.
Flexible Creative Controls: Work with configurable duration, resolution, and aspect-ratio options for different publishing and delivery contexts.
Production-Friendly Task Workflow: Submit generation tasks, track their status, and retrieve finished video assets through an application-ready API flow.
Rapid Creative Iteration: Explore story ideas, visual treatments, and product scenes efficiently before committing to a larger production process.
Input: Natural-language prompts describing the subject, action, environment, camera direction, and visual style.
Generation Direction: Add timing, movement, composition, and mood details when the scene depends on a specific cinematic sequence.
Output: Generated video clips delivered through the Best Image AI task workflow for review, storage, or downstream editing.
Task Handling: Keep the returned task identifier, poll for completion, and handle generation errors before publishing the result.
Production Controls: Select the available duration, resolution, and aspect-ratio settings that match the target channel.
Cinematic Concept Development: Turn early story ideas, mood references, and shot descriptions into visual material for pre-production.
Short-Form Content: Create social clips, promotional sequences, and campaign variations from structured creative prompts.
Product Storytelling: Build product demonstrations, launch scenes, and branded motion concepts without starting with a full shoot.
Advertising Previsualization: Test camera language, pacing, and visual direction before production resources are committed.
Creative Automation: Add text-to-video generation to media platforms, content tools, and internal production pipelines.
Note Prompt clarity has a direct effect on scene composition and motion quality. Review generated clips for continuity, artifacts, and account-level model availability before production use.
MiniMax H3 vs. Kling 3.0: Kling 3.0 is known for expressive video generation and strong motion handling. MiniMax H3 provides a focused text-to-video workflow for teams that want cinematic direction inside an API task pipeline.
MiniMax H3 vs. Runway Gen-4: Runway Gen-4 offers a broad creative workspace and visual production tools. MiniMax H3 is suited to applications that need prompt-led generation and programmatic task handling.
MiniMax H3 vs. Veo 3.1: Veo 3.1 emphasizes high-end cinematic generation and Google ecosystem integration. MiniMax H3 offers another API-oriented path for rapid concept development and production automation.
MiniMax H3 vs. Seedance 2.0: Seedance 2.0 supports multiple video creation modes and audio-visual workflows. MiniMax H3 focuses this comparison on direct text-driven scene generation and manageable application integration.
MiniMax H3 vs. Luma Dream Machine: Luma Dream Machine is popular for fast visual experimentation. MiniMax H3 is a practical choice when text prompts need to connect with task queues, review steps, and downstream media systems.
// 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': 'minimax-h3-text-to-video',
'prompt': 'A golden retriever running through a sunlit meadow',
'resolution': '2k',
'duration': 8,
'aspect_ratio': '16:9'
}
)
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": "minimax-h3-text-to-video",
"prompt": "A golden retriever running through a sunlit meadow",
"resolution": "2k",
"duration": 8,
"aspect_ratio": "16:9"
}'
# 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"