- (Recommended) Omit the
formatfield - Set output file format to match the input file format.
optimize flags in settings True.
To control format specific settings, check our API reference
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
POST /tasks HTTP/1.1
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
{
"data": {
"type": "tasks",
"attributes": {
"settings": {
"optimize": True
}
},
"relationships": {
"input": {
"data": {
"type": "files",
"id": "<string>"
}
}
}
}
}
POST /tasks HTTP/1.1
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
{
"data": {
"type": "tasks",
"attributes": {
"settings": {
"optimize": True
}
},
"relationships": {
"input": {
"data": {
"type": "files",
"id": "<string>"
}
}
}
}
}
format fieldoptimize flags in settings True.
To control format specific settings, check our API reference
POST /tasks HTTP/1.1
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
{
"data": {
"type": "tasks",
"attributes": {
"settings": {
"optimize": True
}
},
"relationships": {
"input": {
"data": {
"type": "files",
"id": "<string>"
}
}
}
}
}