More modelsVideo effectsGender swap
Generate video with video-effects/gender-swap
Generates a video using the video-effects/gender-swap model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
modelstring
model name
imagestring
An image to be used as the start frame of the generated video. Requirements: 1. Only accepts 1 image; 2. Supports solo male or female portraits only; 3. Optimal results with half-body or full-body portraits; 4. Images can be provided via URLs or Base64 encode; 5. Supported codecs: PNG, JPEG, JPG, WebP; 6. Image aspect ratio must be less than 1:4 or 4:1; 7. Maximum file size: 50MB; 8. Base64 decode length must be under 50MB with appropriate content type string.
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \ -H "Content-Type: application/json" \ -d '{ "model": "video-effects/gender-swap", "image": "https://image01.cf.vidu.studio/vidu-maas/Tempmates_material/Funny/Funny/0331/haiwai/xingzhuan_upload.png" }'
{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}