--json, which makes it safe to call from a script, a CI job, or an AI agent that parses stdout.
Install and authenticate
Generate your first file
Commands
Global options
Video options
--ratio accepts 16:9, 9:16, 4:3, 3:4, 21:9, and 1:1. --resolution accepts 480p, 720p, and 1080p, but each model supports only part of that range — see Video generation.
Audio options
flatkey audio voices --json and pass a listed voice_id to --voice-id.
Drive it from an agent
In--json mode, stdout holds exactly one JSON object and stderr holds a JSON error. Run flatkey help --ai to print a compact protocol description an agent can read at runtime.