Skip to main content
POST
AI Dance · Replace

Headers

Authorization
string

Body

application/json
model
enum<string>
required

Model name. Must be ai_dance_replace.

Available options:
ai_dance_replace
image_url
string<uri>
required

Source image URL. The person in this image is used for the generated video.

video_url
string<uri>
required

Reference dance video URL. Max 30 seconds — longer videos are rejected.

resolution
enum<string>
default:480p

Output resolution. Also determines the per-second price.

Available options:
480p,
720p
custom_callback_url
string<uri>

Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.

Example:

"https://your-server.com/goenhance/callback"

Response

code
integer
required
msg
string
required
data
object
required