Generate Media
The generations endpoint lets users generate media based on various parameters such as aspect ratio, model, prompt etc. The response will return a generation ID for each request, which can be used to track the status and view generated media.
Start using mode
in character object while generating images using character.
weight
and enable_facelock
are deprecated and will be removed in the future.
Example:
Added support for Video Anyone
generation
Any attempt to produce NSFW, violent, or public figure content will result in permanent account termination.
You can use either a generated image’s media_id or an uploaded image asset’s asset_id as the input image identifier media_id
for video generation, eliminating the need to re-upload images as assets.
For video_anyone
generation make sure that input image meets the following conditions to avoid generation failure:
- Input image aspect ratio should be either
3:5
or5:3
. - Maximum characters permitted for
prompt
is 500 only.
When using the generation array, ensure that each object contains only one of the following properties: segment
, style
, model
, true_touch
, narrator
or video_anyone
. These properties have a priority order as follows:
segment
style
model
true_touch
narrator
video_anyone
If multiple properties are provided, the one with the highest priority will be used.
The narrator
can be generated either by using a script paired with a voice(List all the available voices using GET /pub/v1/voices
endpoint) or by utilizing an existing audio asset.
segment
, true_touch
, narrator
and video_anyone
generations only acknowledge parameters that are passed within their own objects.
For narrator
generation make sure that video asset meets the following conditions to avoid generation failure:
- The maximum supported frame rate for a video asset is 30 FPS, calculated by dividing the total number of frames by the total duration.
- Maximum height and width of the video asset should be
1080
and1920
respectively.
Headers
API key needed to access our public endpoints. You can find yours under the 'Account' section of the website
Body
The body is of type object[]
.
Response
A list of submitted generation requests
The response is of type object
.