Project
Create project
Project
Create project
Create new project with media uploaded by library.
POST
/
v2
/
projects
curl --request POST \
--url https://api.rask.ai/v2/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"video_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"src_lang": "<string>",
"dst_lang": "<string>",
"num_speakers": 123,
"transcript_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"glossary_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"source_type": "youtube",
"status": "created",
"status_updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"cover": "<string>",
"src_lang": "<string>",
"dst_lang": "<string>",
"num_speakers": 123,
"source_url": "<string>",
"duration": 123,
"original_duration": 123,
"glossary_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"glossary_version": 123,
"original_video": "<string>",
"transcript_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voiceover": "<string>",
"translated_video": "<string>",
"translated_audio": "<string>",
"voice": {},
"translation_srt_path": "<string>",
"translation_vtt_path": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.rask.ai/v2/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"video_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"src_lang": "<string>",
"dst_lang": "<string>",
"num_speakers": 123,
"transcript_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"glossary_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"source_type": "youtube",
"status": "created",
"status_updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"cover": "<string>",
"src_lang": "<string>",
"dst_lang": "<string>",
"num_speakers": 123,
"source_url": "<string>",
"duration": 123,
"original_duration": 123,
"glossary_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"glossary_version": 123,
"original_video": "<string>",
"transcript_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voiceover": "<string>",
"translated_video": "<string>",
"translated_audio": "<string>",
"voice": {},
"translation_srt_path": "<string>",
"translation_vtt_path": "<string>"
}