POST
/
v1
/
jobs
/
gen2
/
afc
curl --request POST \
  --url https://api.haiper.ai/v1/jobs/gen2/afc \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "is_public": true,
  "prompt": "<string>",
  "negative_prompt": "<string>",
  "config": {
    "source_images": [
      "<string>"
    ],
    "frame_indices": [
      123
    ],
    "input_width": 123,
    "input_height": 123
  },
  "settings": {
    "seed": 123,
    "duration": 123
  }
}'
{
  "status": "<string>",
  "value": {
    "generation_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Upload Keyframe Images

The body is of type object.

Response

200
application/json

The response is of type object.