Skip to main content
POST
/
v2
/
create_video_from_product
/
render_single_preview
Render Video from Preview
curl --request POST \
  --url https://api.jogg.ai/v2/create_video_from_product/render_single_preview \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "preview_id": "preview_123"
}
'
{
  "code": 0,
  "msg": "Success",
  "data": {
    "video_id": "video_789",
    "status": "processing"
  }
}
Generate final video from a selected preview.

Example Usage

curl --request POST \
  --url 'https://api.jogg.ai/v2/create_video_from_product/render_single_preview' \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "preview_id": "preview_123"
  }'

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your key from the JoggAI dashboard.

Body

application/json
preview_id
string
required

Preview ID from preview list

Example:

"preview_123"

Response

200 - application/json

Success

code
integer
required

Business status code:

  • 0 - Success
  • 10104 - Record not found
  • 10105 - Invalid API key
  • 18020 - Insufficient credit
  • 18025 - No permission to call APIs
  • 40000 - Parameter error
  • 50000 - System error
Example:

0

msg
string
required

Response message

Example:

"Success"

data
object