Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.genviral.io/llms.txt

Use this file to discover all available pages before exploring further.

Use Studio AI endpoints to generate images and videos with the same model catalog and credit rules used in-app. All routes are key-scoped and use the standard Partner API response envelope documented in Response Pattern.

Endpoints

EndpointPathDocs
List modelsGET /api/partner/v1/studio/modelsGet Studio Models
Generate imagePOST /api/partner/v1/studio/images/generateGenerate Studio Image
Generate videoPOST /api/partner/v1/studio/videos/generateGenerate Studio Video
Video statusGET /api/partner/v1/studio/videos/{videoId}Get Studio Video

Polling Flow

  1. Call POST /studio/videos/generate.
  2. Store data.video_id.
  3. Poll GET /studio/videos/{videoId} until data.status is succeeded or failed.
  4. Use data.output_url once status is succeeded.

Input Contract

Studio generation endpoints use normalized partner input (snake_case) with optional raw_params for model-specific passthrough:
  • params: stable normalized keys (aspect_ratio, duration_seconds, etc.)
  • raw_params: optional advanced passthrough object
This keeps client payloads consistent while still allowing model-specific controls.