background_mode to transparent: the render then returns the character video plus a matching alpha video you use as its mask. If your editor works better with a keyed color, use a solid background instead.
Background modes
bg_color is only valid with solid; sending it with another mode is rejected with 400. In the draft flow, the output.background_mode shortcuts green and white give a solid green or white background.
The background mode doesn’t change the price: $0.01 per character per second of finished video, minimum 0.5 credit. A 10-second transparent render costs 10 credits ($0.10).
Render with alpha
ExportVIGGLE_API_KEY and run one of these as-is. They use a sample character image and motion video hosted by Viggle. The script prints both URLs when the render is ready. The cURL version needs jq.
Composite the result
Download both files: they are deleted 24 hours after the render finishes. In your editor, placevideo_url as the foreground layer and use alpha_url as its mask, then put any background underneath.
For a green-screen workflow instead, render with background_mode=solid and bg_color=0,255,0, and key out the green in your editor.
Next steps
Video Remix
Inputs, price, the draft flow and multi-person renders.
Reusable characters and motions
Save a character once and render it on many backgrounds.