Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.viggle.ai/llms.txt

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

Pass optional form fields when creating a render job via POST /api/render. All options have sensible defaults.

Available options

model
string
default:"V4_Preview"
Avatar model. V4_Preview (default) or V3_Preview (legacy).
background_mode
string
default:"original"
Background handling mode.
ValueDescription
originalRemove the person and AI-fill the background (default)
solidReplace with solid color (use with bg_color)
transparentSeparate mask video for compositing (returns mask_cdn_url alongside cdn_url)
inpaint is accepted as an alias for original for backward compatibility.
bg_color
string
default:"255,255,255"
RGB color for solid background. Only valid when background_mode=solid (rejected otherwise). Format: "R,G,B" (0-255). Examples: "255,255,255" (white), "0,0,0" (black), "0,255,0" (green scree

Examples

Original background, standard speed.
curl -X POST "https://apis.viggle.ai/api/render" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "character_id=char_xxx" -d "scene_id=scene_xxx"

Background mode comparison

ModeUse CaseOutput
originalGeneral use, keep scene contextOriginal background preserved
solidGreen screen, compositingSolid color background
transparentProfessional compositingBlack bg video + separate mask video

Best practices

Use original when you want scene context. Use solid or transparent when compositing in video editors.
Generates two outputs: main video (character on black) and mask video (white = character). Use both in your editor. See Compositing Guide.
Enable fast mode for 2x rendering speed. Costs 2x credits. Requires a driving_video upload or scene_id.