POST
/
api
/
v2
/
videoeffect
/
generate
/
nap_me
AI Nap Me Video Generator API
curl --request POST \
  --url https://api.goenhance.ai/api/v2/videoeffect/generate/nap_me \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "reference_img": "https://cdn.goenhance.ai/user/goenhance/f52840534004f9a52cbe6d2aec7fa164.jpg"
  }
}'
{
  "code": 0,
  "msg": "Success",
  "data": {
    "img_uuid": "c12b656c-747a-44fd-9c80-add79b0c52d5"
  }
}

Example

Example output from the AI Sleep Video Generator API:

API Overview

The AI Sleep Video Generator API enables developers to programmatically create videos of subjects in peaceful slumber. By sending image data to our endpoint, your application can generate realistic sleeping animations with subtle breathing movements, relaxed facial expressions, and natural sleep postures. This API is perfect for integrating into wellness applications, sleep tracking services, meditation platforms, or any service that would benefit from calming, restful content.

Headers

Authorization
string
required

Body

application/json

Response

200 - application/json

The response is of type object.