act_two
This video-to-video model lets you animate characters using reference performance videos. Simply provide a video of someone acting out a scene along with a character reference (image or video), and Act-Two will transfer the performance to your character — including natural motion, speech, and facial expressions.
How to Make a Call
API Schemas
Now, all of our API schemas for video models use our new universal short URL — https://api.aimlapi.com/v2/video/generations.
However, you can still call this model using the legacy URL that includes the vendor name.
Video Generation
You can generate a video using this API. In the basic setup, you only need an image or video URL for the character (character), and a video URL for body movements and/or facial expressions (reference).
The character to control. You can either provide a video or an image. A visually recognizable face must be visible and stay within the frame.
The width and height of the video.
1280:720Possible values: A boolean indicating whether to enable body control. When enabled, non-facial movements and gestures will be applied to the character in addition to facial expressions.
An integer between 1 and 5 (inclusive). A larger value increases the intensity of the character's expression.
3Varying the seed integer is a way to get different results for the same other request parameters. Using the same value for an identical request will produce similar results. If unspecified, a random number is chosen.
Retrieve the generated video from the server
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its id, obtained from the endpoint described above.
If the video generation task status is completed, the response will include the final result — with the generated video URL and additional metadata.
Bearer key
<REPLACE_WITH_YOUR_GENERATION_ID>Full Example: Generating and Retrieving the Video From the Server
Processing time: ~45 sec.
Original: 784×1168
Low-res GIF preview:

Last updated
Was this helpful?

