Skip to content
NewRouters/Documentation
GET STARTED

Image and video task learning path

Plan specifications and budgets, then submit, poll, recover and save media outputs with a practical Node.js video workflow.

Images and videos share the Media Tasks API, but their inputs, reference constraints and billing units differ. Define the deliverable, verify the model contract and validate a budgeted sample. Task acceptance is not completed generation.

Submit a video task once, resume polling with its task ID, handle failures and local deadlines, then stream result assets to disk without forwarding your API key.

Plan image aspect ratio, resolution, output format and reference inputs using the live request schema, with a practical Nano Banana 2 workflow.

Estimate media workloads using matched specifications and billing units, cap concurrency and attempts, and reconcile estimates with task-level charges.

Generation examples incur usage. Reading a catalog or an existing task does not create a new generation task. Do not automatically resubmit paid requests while testing a guide.