Joyfun AI API

Generate Joyfun AI outputs via the Pollo API. Same auth, same key — switch models with one parameter.

Quick start

Drop this into a terminal with a valid POLLO_API_KEY to test the model.

curl https://api.pollo.ai/v1/video/generate \
  -H "Authorization: Bearer $POLLO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "joyfun-ai",
    "prompt": "A cinematic golden hour drone shot",
    "duration_seconds": 6,
    "aspect_ratio": "16:9"
  }'

Parameters

  • prompt

    stringRequired

    Text prompt describing the video to generate.

  • image

    string (URL or base64)

    Optional reference image to condition the generation.

  • duration_seconds

    number

    Video length in seconds. Defaults to 6 if omitted.

  • aspect_ratio

    string

    One of '16:9', '9:16', '1:1', '4:5'. Defaults to '16:9'.

  • resolution

    string

    One of '480p', '720p', '1080p', '4k'.

  • seed

    number

    Deterministic seed for reproducible generations.

Response

{
  "id": "gen_a93f8c7e1b",
  "status": "queued",
  "model": "joyfun-ai",
  "estimated_seconds": 14
}

Poll GET /v1/generations/{id} or subscribe to the generation.completed webhook to receive the asset URL when the render finishes.