Make a video clip
ugcfans_make_videoMakes a video clip from a prompt, optionally beginning on a still, and returns a job; when it is done the result links the clip. Spends the account's credits per clip (ugcfans_list_models gives each model's price). Call ugcfans_estimate first and pass its quote; without a quote this returns the cost and makes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The model id, from ugcfans_list_models. | |
| quote | No | The quote from ugcfans_estimate for exactly this request. Without it the call returns the estimate and makes nothing. | |
| prompt | Yes | What happens, in words. | |
| duration | No | The length in seconds, from the lengths the model offers. | |
| resolution | No | The resolution, such as 720p, when the model offers it. | |
| start_image | No | A picture to begin on: the address of a library file, out/... | |
| aspect_ratio | No | The frame, such as 9:16 or 16:9, when the model offers it. |