Dance Model Viggle
- 2025.04.23 Billing rules have been updated
- 2024.07.06 This site now supports the dance model
viggle vigglehas no official API; like GPTs, it is obtained through reverse engineering- Supports
character photo+dance template video=>character dance video - Billing is per generation, one video per request
- Two pricing tiers:
watermarkandpro— see Version Endpoints - Default is
watermark(with watermark);prohas no watermark - To try it out, visit https://viggle.ddaiai.com and see the
Online Demosection below
Note 1. Visit https://viggle.ddaiai.com (if blocked, try a different subdomain prefix such as suibian)
2. If the site is blocked, you can change the address yourself: https://suibian.ddaiai.com — replace suibian with something else, e.g. https://2024.ddaiai.com, all work
Version Endpoints
- Default watermark version: https://api.openai-hk.com/viggle
- Pro version: https://api.openai-hk.com/pro/viggle
- The two modes have different pricing
Billing Rules
watermark version— 2000 credits/request regardless of duration; adjusted to 1000 credits/request on Aug 24- (Deprecated)
pro versionif using official templates, 8000 credits/request regardless of duration pro version— user-uploaded dance videos: every 15 seconds counts as one request; durations under 15 seconds are rounded up to 15 seconds. For example, a template video of17s=2 requests*8000 credits/request=16000 credits- 2025.04.22
pro versionviggle added a fee query endpoint; all generation responses now return a price multiplierfee. Iffeeis 2, that means2x*8000 credits=16000 credits
Online Demo
Setup
- Open https://viggle.ddaiai.com
- Configure the fields shown in the screenshot below
- Viggle API URL: https://api.openai-hk.com
- Viggle KEY: hk-your-apiKey

- Upload the character photo and dance template video

Result

Viggle API
- Convention: include
Authorization: Bearer hk-your-keyin the request header - Watermark version endpoint: https://api.openai-hk.com/viggle
- Pro version endpoint: https://api.openai-hk.com/pro/viggle
- The following examples use the watermark version
Create Character
curl --request POST \
--url https://api.openai-hk.com/viggle/asset/image \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: multipart/form-data' \
--form file=@/youfile/163-q.jpegcurl --request POST \
--url https://api.openai-hk.com/viggle/asset/image \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: multipart/form-data' \
--form file=@/youfile/163-q.jpegThe response is shown below; data.id is referred to as imageID
{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": {
"id": "f7831b4f-657a-4cd1-8b44-04ba0aff61ed",
"name": "163-q",
"url": "https://d1o0mfcotrd9q.cloudfront.net/image-asset/18ab38a4-b013-4afa-b031-e0e901ee7606.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA34TJNLFYRSUCDEUH%2F20240705%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240705T152450Z&X-Amz-Expires=43200&X-Amz-SignedHeaders=host&X-Amz-Signature=4228aafb0147f888b7487c9eeb9842eb4bd2a519baa4b95c564ad1d403c50e21",
"width": 660,
"height": 881
}
}{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": {
"id": "f7831b4f-657a-4cd1-8b44-04ba0aff61ed",
"name": "163-q",
"url": "https://d1o0mfcotrd9q.cloudfront.net/image-asset/18ab38a4-b013-4afa-b031-e0e901ee7606.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA34TJNLFYRSUCDEUH%2F20240705%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240705T152450Z&X-Amz-Expires=43200&X-Amz-SignedHeaders=host&X-Amz-Signature=4228aafb0147f888b7487c9eeb9842eb4bd2a519baa4b95c564ad1d403c50e21",
"width": 660,
"height": 881
}
}Upload Dance Template Video
curl --request POST \
--url https://api.openai-hk.com/viggle/asset/video/f7831b4f-657a-4cd1-8b44-04ba0aff61ed \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: multipart/form-data' \
--form file=@/youfile/163-q.mp4curl --request POST \
--url https://api.openai-hk.com/viggle/asset/video/f7831b4f-657a-4cd1-8b44-04ba0aff61ed \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: multipart/form-data' \
--form file=@/youfile/163-q.mp4The response is shown below; data.id is referred to as videoID
{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": {
"id": "56b64267-2e5b-43f6-abc8-007ff2da3253",
"name": "7356dd9b-547a-45fe-b88e-cb1613d02e67_raw_video_1_video059e35",
"url": "https://d1o0mfcotrd9q.cloudfront.net/video-asset/707c0c3f-26af-4e4a-a62d-6cd0a0b1f15a.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA34TJNLFYRSUCDEUH%2F20240705%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240705T152056Z&X-Amz-Expires=43200&X-Amz-SignedHeaders=host&X-Amz-Signature=d976934f7eefd3208af45953e0607890baa8cd2b7dd60aa626882b09db42c814",
"coverURL": "https://d1o0mfcotrd9q.cloudfront.net/image-asset/1720147355401-426cf3de-dd44-4d52-9056-c25e654817ae.jpg",
"width": 1360,
"height": 752
}
}{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": {
"id": "56b64267-2e5b-43f6-abc8-007ff2da3253",
"name": "7356dd9b-547a-45fe-b88e-cb1613d02e67_raw_video_1_video059e35",
"url": "https://d1o0mfcotrd9q.cloudfront.net/video-asset/707c0c3f-26af-4e4a-a62d-6cd0a0b1f15a.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA34TJNLFYRSUCDEUH%2F20240705%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240705T152056Z&X-Amz-Expires=43200&X-Amz-SignedHeaders=host&X-Amz-Signature=d976934f7eefd3208af45953e0607890baa8cd2b7dd60aa626882b09db42c814",
"coverURL": "https://d1o0mfcotrd9q.cloudfront.net/image-asset/1720147355401-426cf3de-dd44-4d52-9056-c25e654817ae.jpg",
"width": 1360,
"height": 752
}
}Create Dance Video Task
Request body: one of templateID or videoID is required
{
"imageID": "f7831b4f-657a-4cd1-8b44-04ba0aff61ed",
"bgMode": 2,
"modelInfoID": 3,
"templateID": "official template video ID",
"videoID": "user-uploaded video ID"
}{
"imageID": "f7831b4f-657a-4cd1-8b44-04ba0aff61ed",
"bgMode": 2,
"modelInfoID": 3,
"templateID": "official template video ID",
"videoID": "user-uploaded video ID"
}Key field descriptions
| Field | Type | Description |
|---|---|---|
| imageID | string | Character image ID (user-uploaded) |
| bgMode | int | Background mode: 0 white background, 1 green background, 2 template background, 3 character background |
| modelInfoID | int | Model version: 2 = V2, 3 = V2-Turbo, 4 = V3-Beta |
| templateID | string | Official template video ID |
| videoID | string | User-uploaded video ID |
curl demo
curl --request POST \
--url https://api.openai-hk.com/viggle/video-task \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: application/json' \
--data '{
"imageID": "f7831b4f-657a-4cd1-8b44-04ba0aff61ed",
"bgMode": 2,
"modelInfoID": 3,
"templateID": "67d1cdaf-d1fb-4bdf-959e-72c5a80b23e4"
}'curl --request POST \
--url https://api.openai-hk.com/viggle/video-task \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: application/json' \
--data '{
"imageID": "f7831b4f-657a-4cd1-8b44-04ba0aff61ed",
"bgMode": 2,
"modelInfoID": 3,
"templateID": "67d1cdaf-d1fb-4bdf-959e-72c5a80b23e4"
}'- Response:
data.taskIDis thetaskID feeindicates the price multiplier
{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": {
"taskID": "7bf6fa01-607a-4420-87a9-92592f95ac9c",
"mqType": 0
},
"fee": 2
}{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": {
"taskID": "7bf6fa01-607a-4420-87a9-92592f95ac9c",
"mqType": 0
},
"fee": 2
}Get Task Result
post https://api.openai-hk.com/viggle/video-task/by-ids Request body:
idsis thetaskID. Currently only one ID is supported; if multiple IDs are passed, only the first result is returned
{
"ids": ["{taskID}"]
}{
"ids": ["{taskID}"]
}curl demo
curl --request POST \
--url https://api.openai-hk.com/viggle/video-task/by-ids \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: application/json' \
--data '{
"ids": [
"e254d8b6-ddc5-47cf-ba95-da92a63174dc"
]
}'curl --request POST \
--url https://api.openai-hk.com/viggle/video-task/by-ids \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: application/json' \
--data '{
"ids": [
"e254d8b6-ddc5-47cf-ba95-da92a63174dc"
]
}'Response
{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": [
{
"taskID": "e254d8b6-ddc5-47cf-ba95-da92a63174dc",
"name": "Diulio Sephus1720193129",
"status": 0,
"image": {
"id": "f7831b4f-657a-4cd1-8b44-04ba0aff61ed",
"name": "163-q",
"url": "https://d1o0mfcotrd9q.cloudfront.net/image-asset/18ab38a4-b013-4afa-b031-e0e901ee7606.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA34TJNLFYRSUCDEUH%2F20240705%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240705T153136Z&X-Amz-Expires=43200&X-Amz-SignedHeaders=host&X-Amz-Signature=f0e9ed80ffc95b6d207d4e6ab4cd29cac5609b1b2c919b60eda5b75958b7546d",
"width": 0,
"height": 0
},
"template": {
"id": "67d1cdaf-d1fb-4bdf-959e-72c5a80b23e4",
"command": "rickroll_never_gonna_give_you_up",
"webCommand": "Rickroll Never Gonna Give You Up",
"description": "Rick Roll beginning",
"webStatus": 0,
"dcStatus": 0,
"appStatus": 0,
"processedURL": "https://d1o0mfcotrd9q.cloudfront.net/template/b130f4ab-0dd6-439f-b05f-f9f1bf51383f.mp4",
"processedHdURL": "",
"processedCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822894720-c300cc94-581b-4a4e-9331-65bbd5ca315c.jpg",
"bgURL": "",
"bgCoverURL": "",
"displayURL": "https://d1o0mfcotrd9q.cloudfront.net/template/7e266c1a-20ba-4e11-8fc9-8101e358f226.mp4",
"displayHdURL": "",
"displayCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822895423-34350ebc-be64-4400-8b50-cfc01dfaa4f7.jpg",
"gifURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822897007-762018cc-7bbe-455e-84d2-95b88d62cac0.gif",
"webPURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822895792-4bcdc6f6-3726-4193-8ed1-418547a9122b.webp",
"source": "YouTube: Rick Astley",
"sort": 0,
"width": 1280,
"height": 960
},
"videoDuration": 6.64,
"bgMode": 2,
"modelInfoID": 3,
"optimize": true,
"watermark": 0,
"freeCredits": 0,
"planCredits": 0,
"purchasedCredits": 0,
"mqType": 0,
"result": "https://d1o0mfcotrd9q.cloudfront.net/gras/725cd928-a588-4f1f-ab01-fd350cdb20ef.mp4",
"resultCover": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720193136070-241cae7f-82a9-4106-8380-adb123bf7847.jpg",
"createdAt": "2024-07-05T15:25:30.034Z"
}
]
}{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": [
{
"taskID": "e254d8b6-ddc5-47cf-ba95-da92a63174dc",
"name": "Diulio Sephus1720193129",
"status": 0,
"image": {
"id": "f7831b4f-657a-4cd1-8b44-04ba0aff61ed",
"name": "163-q",
"url": "https://d1o0mfcotrd9q.cloudfront.net/image-asset/18ab38a4-b013-4afa-b031-e0e901ee7606.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA34TJNLFYRSUCDEUH%2F20240705%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240705T153136Z&X-Amz-Expires=43200&X-Amz-SignedHeaders=host&X-Amz-Signature=f0e9ed80ffc95b6d207d4e6ab4cd29cac5609b1b2c919b60eda5b75958b7546d",
"width": 0,
"height": 0
},
"template": {
"id": "67d1cdaf-d1fb-4bdf-959e-72c5a80b23e4",
"command": "rickroll_never_gonna_give_you_up",
"webCommand": "Rickroll Never Gonna Give You Up",
"description": "Rick Roll beginning",
"webStatus": 0,
"dcStatus": 0,
"appStatus": 0,
"processedURL": "https://d1o0mfcotrd9q.cloudfront.net/template/b130f4ab-0dd6-439f-b05f-f9f1bf51383f.mp4",
"processedHdURL": "",
"processedCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822894720-c300cc94-581b-4a4e-9331-65bbd5ca315c.jpg",
"bgURL": "",
"bgCoverURL": "",
"displayURL": "https://d1o0mfcotrd9q.cloudfront.net/template/7e266c1a-20ba-4e11-8fc9-8101e358f226.mp4",
"displayHdURL": "",
"displayCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822895423-34350ebc-be64-4400-8b50-cfc01dfaa4f7.jpg",
"gifURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822897007-762018cc-7bbe-455e-84d2-95b88d62cac0.gif",
"webPURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822895792-4bcdc6f6-3726-4193-8ed1-418547a9122b.webp",
"source": "YouTube: Rick Astley",
"sort": 0,
"width": 1280,
"height": 960
},
"videoDuration": 6.64,
"bgMode": 2,
"modelInfoID": 3,
"optimize": true,
"watermark": 0,
"freeCredits": 0,
"planCredits": 0,
"purchasedCredits": 0,
"mqType": 0,
"result": "https://d1o0mfcotrd9q.cloudfront.net/gras/725cd928-a588-4f1f-ab01-fd350cdb20ef.mp4",
"resultCover": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720193136070-241cae7f-82a9-4106-8380-adb123bf7847.jpg",
"createdAt": "2024-07-05T15:25:30.034Z"
}
]
}data[0].status:0means success,3means generating- Failed status codes have not been captured yet
Get Official Dance Video Templates
Two steps:
1. Get Tags
curl 'https://api.openai-hk.com/viggle/template2/tag' \
-H 'Authorization: Bearer hk-your-api-key' \
-H 'Content-Type: application/json'curl 'https://api.openai-hk.com/viggle/template2/tag' \
-H 'Authorization: Bearer hk-your-api-key' \
-H 'Content-Type: application/json'Response: data[0].id is the tagID
{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": [
{
"id": "d92c8ba0-b5e5-4128-9387-97bf4384d404",
"name": "Featured",
"sort": 100
},
{
"id": "497db5fb-ee8a-4718-ba82-b14f7c0d260d",
"name": "Trending",
"sort": 80
},
...
]
}{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": [
{
"id": "d92c8ba0-b5e5-4128-9387-97bf4384d404",
"name": "Featured",
"sort": 100
},
{
"id": "497db5fb-ee8a-4718-ba82-b14f7c0d260d",
"name": "Trending",
"sort": 80
},
...
]
}2. Get Templates Under a Tag
get https://api.openai-hk.com/viggle/template2?page=1&pageSize=48&searchKeyword=&tagID={tagID}&type=0
curl 'https://api.openai-hk.com/viggle/template2?page=1&pageSize=48&searchKeyword=&tagID=d92c8ba0-b5e5-4128-9387-97bf4384d404&type=0' \
-H 'Authorization: Bearer hk-your-api-key' \
-H 'Content-Type: application/json'curl 'https://api.openai-hk.com/viggle/template2?page=1&pageSize=48&searchKeyword=&tagID=d92c8ba0-b5e5-4128-9387-97bf4384d404&type=0' \
-H 'Authorization: Bearer hk-your-api-key' \
-H 'Content-Type: application/json'Response: data[0].id is the templateID, which can be used in Create Dance Video Task
{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": [
{
"id": "c8a418c4-6790-4ce6-bb96-f60342c8b101",
"command": "$masbondit_suara_asli",
"webCommand": "Masbondit Suara Asli",
"description": "Masbondit mafiapentol Suara Asli",
"webStatus": 0,
"dcStatus": 0,
"appStatus": 0,
"processedURL": "https://d1o0mfcotrd9q.cloudfront.net/template/6c210b14-3fcb-4368-a882-48c68216504a.mp4",
"processedHdURL": "",
"processedCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720174163500-06d50e1a-d7ba-4ee1-9f34-f972023f73e8.jpg",
"bgURL": "",
"bgCoverURL": "",
"displayURL": "https://d1o0mfcotrd9q.cloudfront.net/template/706dbf09-4fb1-4c85-a2b7-929f988ae6bc.mp4",
"displayHdURL": "",
"displayCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720174164598-ada48d6e-3c64-45cd-9e16-962e04081c5a.jpg",
"gifURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720174166664-653ce964-65eb-460d-8352-37afc05cc082.gif",
"webPURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720174165041-8ccf27aa-4eef-4df9-9225-0f6b20e3b954.webp",
"source": "Tiktok: masbondit_mafiapentol",
"sort": 0,
"width": 576,
"height": 1024
},
{
"id": "67d1cdaf-d1fb-4bdf-959e-72c5a80b23e4",
"command": "$rickroll_never_gonna_give_you_up",
"webCommand": "Rickroll Never Gonna Give You Up",
"description": "Rick Roll beginning",
"webStatus": 0,
"dcStatus": 0,
"appStatus": 0,
"processedURL": "https://d1o0mfcotrd9q.cloudfront.net/template/b130f4ab-0dd6-439f-b05f-f9f1bf51383f.mp4",
"processedHdURL": "",
"processedCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822894720-c300cc94-581b-4a4e-9331-65bbd5ca315c.jpg",
"bgURL": "",
"bgCoverURL": "",
"displayURL": "https://d1o0mfcotrd9q.cloudfront.net/template/7e266c1a-20ba-4e11-8fc9-8101e358f226.mp4",
"displayHdURL": "",
"displayCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822895423-34350ebc-be64-4400-8b50-cfc01dfaa4f7.jpg",
"gifURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822897007-762018cc-7bbe-455e-84d2-95b88d62cac0.gif",
"webPURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822895792-4bcdc6f6-3726-4193-8ed1-418547a9122b.webp",
"source": "YouTube: Rick Astley",
"sort": 0,
"width": 1280,
"height": 960
},
....
],
"total": 40
}{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": [
{
"id": "c8a418c4-6790-4ce6-bb96-f60342c8b101",
"command": "$masbondit_suara_asli",
"webCommand": "Masbondit Suara Asli",
"description": "Masbondit mafiapentol Suara Asli",
"webStatus": 0,
"dcStatus": 0,
"appStatus": 0,
"processedURL": "https://d1o0mfcotrd9q.cloudfront.net/template/6c210b14-3fcb-4368-a882-48c68216504a.mp4",
"processedHdURL": "",
"processedCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720174163500-06d50e1a-d7ba-4ee1-9f34-f972023f73e8.jpg",
"bgURL": "",
"bgCoverURL": "",
"displayURL": "https://d1o0mfcotrd9q.cloudfront.net/template/706dbf09-4fb1-4c85-a2b7-929f988ae6bc.mp4",
"displayHdURL": "",
"displayCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720174164598-ada48d6e-3c64-45cd-9e16-962e04081c5a.jpg",
"gifURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720174166664-653ce964-65eb-460d-8352-37afc05cc082.gif",
"webPURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720174165041-8ccf27aa-4eef-4df9-9225-0f6b20e3b954.webp",
"source": "Tiktok: masbondit_mafiapentol",
"sort": 0,
"width": 576,
"height": 1024
},
{
"id": "67d1cdaf-d1fb-4bdf-959e-72c5a80b23e4",
"command": "$rickroll_never_gonna_give_you_up",
"webCommand": "Rickroll Never Gonna Give You Up",
"description": "Rick Roll beginning",
"webStatus": 0,
"dcStatus": 0,
"appStatus": 0,
"processedURL": "https://d1o0mfcotrd9q.cloudfront.net/template/b130f4ab-0dd6-439f-b05f-f9f1bf51383f.mp4",
"processedHdURL": "",
"processedCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822894720-c300cc94-581b-4a4e-9331-65bbd5ca315c.jpg",
"bgURL": "",
"bgCoverURL": "",
"displayURL": "https://d1o0mfcotrd9q.cloudfront.net/template/7e266c1a-20ba-4e11-8fc9-8101e358f226.mp4",
"displayHdURL": "",
"displayCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822895423-34350ebc-be64-4400-8b50-cfc01dfaa4f7.jpg",
"gifURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822897007-762018cc-7bbe-455e-84d2-95b88d62cac0.gif",
"webPURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822895792-4bcdc6f6-3726-4193-8ed1-418547a9122b.webp",
"source": "YouTube: Rick Astley",
"sort": 0,
"width": 1280,
"height": 960
},
....
],
"total": 40
}Query Price Multiplier
post https://api.openai-hk.com/viggle/video-task/credit/calculate
curl for template price
curl --request POST \
--url https://api.openai-hk.com/viggle/video-task/credit/calculate \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: application/json' \
--data '{"templateID": "43c5a47c-260a-4dfc-953c-43bb616074a1"}'curl --request POST \
--url https://api.openai-hk.com/viggle/video-task/credit/calculate \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: application/json' \
--data '{"templateID": "43c5a47c-260a-4dfc-953c-43bb616074a1"}'curl for user-uploaded video price
curl --request POST \
--url https://api.openai-hk.com/viggle/video-task/credit/calculate \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: application/json' \
--data '{"videoID":"399c9bf6-76c2-42bc-8e1a-659c11ce3fbe"}'curl --request POST \
--url https://api.openai-hk.com/viggle/video-task/credit/calculate \
--header 'Authorization: Bearer your-hk-key' \
--header 'content-type: application/json' \
--data '{"videoID":"399c9bf6-76c2-42bc-8e1a-659c11ce3fbe"}'Response
{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": 2 // price multiplier; if 2, the price is 2x
}{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": 2 // price multiplier; if 2, the price is 2x
}
OpenAi-HK