POST
/
v2
/
projects
/
{project_id}
/
generate
curl --request POST \
  --url https://api.rask.ai/v2/projects/{project_id}/generate \
  --header 'Authorization: Bearer <token>'
{
  "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

Authorization
string
header
required

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

Path Parameters

project_id
string
required

Project ID

Response

200
application/json
Project with up to date translation
id
string
required

Project ID

name
string
required

Project name

source_type
enum<string>
required

Source of uploaded content

Available options:
youtube,
gdrive,
vimeo,
s3,
local,
any
created_at
string
required

Date and time of project creation

status
enum<string> | null

Current project status

Available options:
created,
uploading,
uploaded,
upload_failed,
transcription_started,
transcription_done,
transcription_failed,
transcribe_segments_started,
transcribe_segments_done,
transcribe_segments_failed,
separate_background_started,
separate_background_done,
separate_background_failed,
determine_speakers_started,
determine_speakers_done,
determine_speakers_failed,
voice_suggest_started,
voice_suggest_done,
voice_suggest_failed,
translation_started,
translation_done,
translation_failed,
voice_update_started,
voice_update_done,
voice_update_failed,
transcript_edited,
voice_edited,
voiceover_started,
voiceover_done,
voiceover_failed,
merging_started,
merging_done,
merging_failed,
failed,
no_audio,
no_words,
forbidden_link
status_updated_at
string | null

Date and time of the last project status update

cover
string | null

Cover image of video specified

src_lang
string | null

Project source language

dst_lang
string

Project destination language

num_speakers
integer | null

Number of speakers in the project

source_url
string | null

Video source url if media has been created by link

duration
integer | null

Video duration after limits applied

original_duration
integer | null

Original video duration

glossary_id
string | null

Glossary ID (if glossary is used)

glossary_version
integer | null

Glossary version (if glossary is used)

original_video
string | null

Link to the original video stored

transcript_id
string | null

Project transcription ID

voiceover
string | null

Link to the translated audio with voiceover only

translated_video
string | null

Link to the translated video

translated_audio
string | null

Link to the translated audio (voiceover with background)

voice
object | null

Pull of voices detected

translation_srt_path
string | null

Link to the translation .srt

translation_vtt_path
string | null

Link to the translation .vtt