A prompt to start fromA slow pan across a rainy neon street at night
The Playground opens on Gemini Omni Flash 1.2 with that prompt in the box. A run there is paid from your balance and shows the result with its exact charge.
curl https://api.runmoth.si/v1/jobs \
-H "Authorization: Bearer $MOTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-omni-flash-1.2",
"prompt": "A lighthouse on a cliff at dusk",
"duration_seconds": 5,
"aspect_ratio": "16:9"
}'
# The reply is a job. Set JOB_ID to its id and poll it until its status is succeeded or failed,
# then fetch each output. Its charged_usd is what the job cost once it ends
curl https://api.runmoth.si/v1/jobs/$JOB_ID -H "Authorization: Bearer $MOTH_API_KEY"
curl https://api.runmoth.si/v1/jobs/$JOB_ID/output/0 -H "Authorization: Bearer $MOTH_API_KEY" -o output-0
Every image, video and music call returns a job, so the code polls it until it ends and then saves each output. Keys start with moth_, and the job reports what it cost in its charged_usd once it ends.
What a workload costs
At $0.053 per second of video
With MothAt listYou save
Per call$0.423536$0.556032$0.132496
Per day$42.3536$55.6032$13.2496
Over 30 days$1,270.608$1,668.096$397.488
The Moth price is what your balance is charged, settled to the micro-dollar on each call. Over 30 days that is 23% below list.
Your use
Last 30 days
Parameters
What POST /v1/jobs takes for this model
modelstringRequired
gemini-omni-flash-1.2
promptstringRequired
Up to 20,000 characters.
duration_secondsinteger
Clip length, one of 5, 10. Billed per second.
aspect_ratiostring
One of 16:9, 9:16.
Similar video models
19 video models among 52 from 13 makers, nearest in price firstSee every video model