Skip to content

Commit

Permalink
Update index.html.md
Browse files Browse the repository at this point in the history
update machine translation
  • Loading branch information
jnorsa-amberscript authored Feb 7, 2024
1 parent dcb0e10 commit fa985bb
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ Upload a file for transcription.
| jobType | `direct` | `perfect`, `direct` |
| numberOfSpeakers | `2` | `1`, `2`, `3`, `4`, `5` |
| callbackUrl (OPTIONAL) | NONE | `YOUR_CALLBACK_URL` |
| transcriptionStyle (OPTIONAL) | `cleanread` | `cleanread`, `verbatim` |
| turnaroundTime (OPTIONAL) | `FIVE_DAYS` - `transcription`/`captions`, `SEVEN_DAYS` - `translatedSubtitles` | Hint: Get in touch if you need a turnaround time other than the default one. |
| targetLanguage (OPTIONAL) | NONE | `pl `, `en`, `ru`, `fr-ca`, `ca`, `zh`, `ga`, `hu`, `pt`, `da`, `de-at`, `fr`, `nl`, `en-au`, `ko`, `it`, `de`, `fi`, `cmn`, `ja`, `de-ch`, `en-us`, `ro`, `pt-br`, `nl-be`, `cs`, `no`, `sv`, `en-uk`, `es` |
| glossaryId (OPTIONAL) | NONE | `YOUR_GLOSSARY_ID` |
| transcriptionStyle (OPTIONAL - Transcript only) | `cleanread` | `cleanread`, `verbatim` |
| turnaroundTime (OPTIONAL - Perfect only) | `FIVE_DAYS` - `transcription`/`captions`, `SEVEN_DAYS` - `translatedSubtitles` | Hint: Get in touch if you need a turnaround time other than the default one. |
| targetLanguage (OPTIONAL- TranslatedSubtitle only) | NONE | Automatic languages ('direct')': `da`, `en`, `es`, `fi`, `fr`, `it`, `nl`, `no`, `pt`, `ro`, `ru`, `sv`, `uk` <br>Manual languages ('perfect'): `pl`, `en`, `ru`, `fr-ca`, `ca`, `zh`, `ga`, `hu`, `pt`, `da`, `de-at`, `fr`, `nl`, `en-au`, `ko`, `it`, `de`, `fi`, `cmn`, `ja`, `de-ch`, `en-us`, `ro`, `pt-br`, `nl-be`, `cs`, `no`, `sv`, `en-uk`, `es` |

### Uploading With `callbackUrl`

Expand Down Expand Up @@ -415,9 +415,11 @@ curl --request POST --url 'https://api.amberscript.com/api/jobs/upload-media-fro
| numberOfSpeakers | `2` | `1`, `2`, `3`, `4`, `5` |
| sourceUrl | `` | "https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4" |
| callbackUrl (OPTIONAL) | NONE | `YOUR_CALLBACK_URL` |
| transcriptionStyle (OPTIONAL) | `cleanread` | `cleanread`, `verbatim` |
| turnaroundTime (OPTIONAL) | `FIVE_DAYS` - `transcription`/`captions`, `SEVEN_DAYS` - `translatedSubtitles` | Hint: Get in touch if you need a turnaround time other than the default one. |
| targetLanguage (OPTIONAL) | NONE | `pl `, `en`, `ru`, `fr-ca`, `ca`, `zh`, `ga`, `hu`, `pt`, `da`, `de-at`, `fr`, `nl`, `en-au`, `ko`, `it`, `de`, `fi`, `cmn`, `ja`, `de-ch`, `en-us`, `ro`, `pt-br`, `nl-be`, `cs`, `no`, `sv`, `en-uk`, `es` |
| glossaryId (OPTIONAL) | NONE | `YOUR_GLOSSARY_ID` |
| transcriptionStyle (OPTIONAL - Transcript only) | `cleanread` | `cleanread`, `verbatim` |
| turnaroundTime (OPTIONAL - Perfect only) | `FIVE_DAYS` - `transcription`/`captions`, `SEVEN_DAYS` - `translatedSubtitles` | Hint: Get in touch if you need a turnaround time other than the default one. |
| targetLanguage (OPTIONAL- TranslatedSubtitle only) | NONE | Automatic languages ('direct')': `da`, `en`, `es`, `fi`, `fr`, `it`, `nl`, `no`, `pt`, `ro`, `ru`, `sv`, `uk` <br>Manual languages ('perfect'): `pl`, `en`, `ru`, `fr-ca`, `ca`, `zh`, `ga`, `hu`, `pt`, `da`, `de-at`, `fr`, `nl`, `en-au`, `ko`, `it`, `de`, `fi`, `cmn`, `ja`, `de-ch`, `en-us`, `ro`, `pt-br`, `nl-be`, `cs`, `no`, `sv`, `en-uk`, `es` |
### Uploading With `callbackUrl`
Expand Down Expand Up @@ -496,7 +498,7 @@ you need to set the value of `language` request parameter to `auto`.
_If you need support for a different file format, please get in touch with us: info (at) amberscript (dot) com_
## Request for translated subtitles for an existing manual captions job
## Request translated subtitles for an existing manual ('perfect') captions job
```java
HttpResponse<String> response=Unirest.post("https://api.amberscript.com/api/jobs/translatedSubtitles?sourceJobId=SOURCE_JOB_ID&targetLanguage=nl&apiKey=YOUR_API_KEY")
Expand Down Expand Up @@ -556,7 +558,8 @@ curl --request POST --url 'https://api.amberscript.com/api/jobs/translatedSubtit
}
```

Request for translated subtitles with uploaded file.
Request for translated subtitles with uploaded file. This endpoint only work for manual ('perfect') job.
Translation for Automatic ('direct') captions must be requested during the initial file submission.

### HTTP Request

Expand Down

0 comments on commit fa985bb

Please sign in to comment.