Use Cases

View as Markdown

genre is the main setting that changes per content type. Everything else in the request stays the same across the flow described in the Overview.

The pairings below are suggested starting points, not API-defined defaults or benchmarked recommendations. The API only validates that genre is one of its six enum values, and does not enforce any content-type mapping.

Content typegenre
General non-fictionNON_FICTION
Adult fictionADULT_FICTION
Children’s fictionCHILDREN_FICTION
Religious textRELIGIOUS
LegalLEGAL
AcademicACADEMIC

Example

{
"job_name": "document-hi",
"source_language_code": "en-IN",
"target_language_codes": ["hi-IN"],
"original_filename": "document.pdf",
"genre": "LEGAL"
}