
Text to Image
Create AI images from text prompts
Try Gemini Omni 1.1 Flash API by Google for fast text-to-video creation with coherent motion and flexible framing via Flaq AI's stable, affordable video API for creators.
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: 'gemini-omni-1.1-flash-text-to-video',
prompt: 'A cinematic tracking shot follows a sailboat crossing a glowing ocean at sunset',
aspect_ratio: '16:9',
resolution: '1080p',
duration: 8
})
});
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': 'gemini-omni-1.1-flash-text-to-video',
'prompt': 'A cinematic tracking shot follows a sailboat crossing a glowing ocean at sunset',
'aspect_ratio': '16:9',
'resolution': '1080p',
'duration': 8
}
)
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": "gemini-omni-1.1-flash-text-to-video",
"prompt": "A cinematic tracking shot follows a sailboat crossing a glowing ocean at sunset",
"aspect_ratio": "16:9",
"resolution": "1080p",
"duration": 8
}'
# 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 |
|---|
Google Gemini Omni 1.1 Flash Text-to-Video API gives developers a direct route from written creative direction to polished AI video clips. Describe a subject, action, camera movement, lighting, and mood, then use the Gemini video API to turn that direction into a coherent short-form scene. Available through Flaq AI, it is built for teams that need flexible video ideation and dependable programmatic delivery without maintaining their own video-generation stack.
Prompt-Led Video Creation: Turn detailed natural-language descriptions into video scenes with clear subjects, environments, action, and visual tone.
Cinematic Direction Through Text: Guide shot framing, camera energy, lighting, atmosphere, and pacing in the same prompt that defines the scene.
Motion-Aware Scene Synthesis: Create clips that connect subject movement, environmental response, and composition into a more cohesive visual result.
Flexible Delivery Formats: Produce landscape or vertical video to suit cinematic placements, social content, and mobile-first campaigns.
Adaptable Output Quality: Select an output quality level that fits the intended production, review, or publishing workflow.
Short-Form Storytelling Control: Set a concise clip length for product moments, narrative beats, social content, and rapid creative tests.
Input: A natural-language prompt describing the scene, key action, visual style, lighting, and any desired camera behavior.
Output: A generated video clip returned through the Gemini Omni 1.1 Flash API workflow.
Format Control: Choose a horizontal or vertical composition and an output quality appropriate to the destination channel.
Clip Direction: Define a compact video length and use prompt detail to steer motion, pacing, and cinematic atmosphere.
Capabilities: Text-to-video generation, scene composition, subject motion, camera-aware prompting, and production-ready creative iteration.
Social Video Production: Create vertical and widescreen concepts for short-form social posts, launch moments, and channel-native creative.
Campaign Ideation: Turn campaign treatments, art directions, and story beats into moving visual concepts before a full production begins.
Product Storytelling: Generate concise product scenes, lifestyle moments, and motion-led feature narratives for marketing workflows.
Creative Prototyping: Explore multiple directions for composition, lighting, camera motion, and atmosphere without a conventional shoot.
Automated Content Pipelines: Add prompt-driven video creation to applications, publishing systems, and high-volume creative workflows through an API.
Note Please ensure prompts comply with Google's safety guidelines. If a request is restricted or does not produce the intended result, revise the scene description and try again.
Gemini Omni 1.1 Flash vs. Google Veo: Both are Google video-generation options. Gemini Omni 1.1 Flash is a strong fit when teams want text-to-video creation alongside image-led, reference-led, and video-editing workflows in the same model family.
Gemini Omni 1.1 Flash vs. OpenAI Sora: Sora is widely used for text-led creative video exploration. Gemini Omni 1.1 Flash provides a prompt-directed video workflow with flexible framing and quality choices for API-based production on Flaq AI.
Gemini Omni 1.1 Flash vs. Runway: Runway offers a broad set of creator-facing video tools. Gemini Omni 1.1 Flash focuses on integrating written scene direction into a streamlined, programmatic generation flow for product teams and developers.
Gemini Omni 1.1 Flash vs. Kling AI: Kling AI is known for visually expressive generated video. Gemini Omni 1.1 Flash gives developers an alternative for prompt-driven scene creation, camera-aware direction, and API delivery.
Gemini Omni 1.1 Flash vs. Pika: Pika is designed for accessible creative experimentation. Gemini Omni 1.1 Flash is suited to teams that need text-to-video generation as part of a connected API workflow rather than a standalone creation surface.
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