Welcome to the Optiq Studio API. Our developer suite allows brands, startups, and marketing platforms to programmatically trigger studio-grade vertical video renders, photorealistic image creations, and lifelike audio narrations on top of our low-latency global edge network.
All external API calls must be directed to our high-capacity serverless clusters deployed inside region us-east4.
Generate, revoke, and monitor your keys anytime inside the secure Developer Panel of your active subscription workspace.
Your programmatic generations share the same credit balance as your interactive workspace. Cost metrics:
Creates photorealistic scenery, backdrops, and product-oriented images using gemini-3.1-flash-image-preview. Supports optional reference image attachments (passed via referenceImages: [{"base64", "mimeType"}]) to guide generations, or character sheets for subject consistency.
curl -X POST "https://us-east4-davelabs-tools.cloudfunctions.net/apiGenerateImage" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Cinematic wide shot of a young Black scuba diver exploring a bioluminescent coral shipwreck",
"aspectRatio": "16:9",
"purpose": "image"
}'JSON Response Body
{
"id": "gen_8kC9dfS2X9j",
"url": "https://storage.googleapis.com/davelabs-tools/generations/user_123/gen_8kC9dfS2X9j.jpg",
"mimeType": "image/jpeg",
"cost": 5
}