Skip to main content

Best Model for This

Audio models do not take chat requests: sending gemini-3-flash-audio to /v1/chat/completions returns 400 and points you to /v1/audio/understand, which takes a multipart upload (file + question).

Quick Start

JavaScript
Steps 1 and 2 run on the signup credit, which is added once your email is verified and spends on the free tier. Step 3 returns 402 model_requires_paid until your first top-up.

Tips

  • Keep transcription and downstream text tasks separate so you can cache transcript text and retry cheaply.
  • For subtitle or dubbing flows, keep each chunk short (3-10s) to reduce timeline drift.
  • Use one stable translation model per session for consistent phrasing.
  • Keep speech generation idempotent per segment so retries do not duplicate output.

Cost Estimate

Actual cost depends on duration, chunk count, and chosen voice model.

Built with Kyma

  • sonpiaz/haynoi is a dictation app that uses whisper-v3-turbo for transcription and a Gemini Flash model for cleanup.
  • sonpiaz/watch-cli turns social videos into agent-ready assets with whisper-v3-turbo for transcript and gemini-3-flash-audio for audio scene Q&A.
  • sonpiaz/kyma-dub dubs videos end-to-end using whisper-v3-turbo for ASR and qwen-3.7-max as the default translation model.

Next Steps