Make an image
ugcfans_make_imageMakes a picture from a prompt, optionally following reference pictures, and returns a job; when it is done the result links the picture and a small one is shown inline. Spends the account's credits per picture (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 |
|---|---|---|---|
| n | No | How many pictures (default 1). | |
| 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 to draw, in words. | |
| reference | No | Pictures of the subject or style to follow: addresses of library files, out/... | |
| resolution | No | The resolution, such as 1K, when the model offers it. | |
| aspect_ratio | No | The frame, such as 1:1, 9:16 or 16:9, when the model offers it. |