format=mp4 with bg_color=#00ff00 and the result is an H.264 MP4 that plays everywhere and keys cleanly in any editor or streaming tool.
The request and job flow are the same as in Video background removal.
Request
result_url as usual. Audio is kept.
Any solid colour
bg_color takes any colour, so the same call gives you a finished video on a brand colour, a blue screen or plain white:
Without
bg_color, MP4 output is on white.
Green screen or transparent video?
A green screen MP4 is the most compatible option: every player, phone, editor and streaming tool can use it, and the file is small. The subject’s edges are already blended with the green, so your editor’s keyer does the rest. If your editor supports alpha, a transparent file skips keying altogether and avoids green spill on hair and fine edges. Useformat=mov (ProRes 4444) for editors or format=webm for the web. See Transparent video.
Without code
In Studio at dash.poof.bg, upload a clip, choose MP4 as the video format and set the background colour to#00ff00. Through the MCP server, ask your assistant to “put this video on a green screen”.