The types named in the tables of the operations. Each links here by its name.
AbilityList#
| Name | Type | Required | Description |
|---|---|---|---|
data | array of string | - | Every ability a key may be granted |
ArchiveCreateOptions#
| Name | Type | Required | Description |
|---|---|---|---|
format | string | - | Zip, tar.gz, tar or gz. Default zip. max length 8 |
level | integer | - | Compression level, 1 to 9. 0 uses the format's default. min 0; max 9 |
name | string | - | The archive's name, without an extension. Default archive. max length 64 |
ArchiveExtractOptions#
A value of type object.
AudioCapabilities#
| Name | Type | Required | Description |
|---|---|---|---|
formats | array of AudioFormat | - | Every output format, with whether this server can write it |
loudness_target | number (double) | - | The integrated loudness normalisation aims at, in LUFS |
max_seconds | number (double) | - | The longest recording this server converts, in seconds |
readable | array of string | - | The media types this server accepts, including video, since extracting a soundtrack is the same conversion |
sample_rates | array of integer | - | The sample rates a conversion may ask for. 0 keeps the source's |
writable | array of string | - | The formats this server can write, by name |
AudioConvertOptions#
| Name | Type | Required | Description |
|---|---|---|---|
bitrate | integer | - | Bit rate in kbit/s for MP3, Opus and AAC. 0 uses the format's default. Ignored by FLAC and WAV, which are lossless. min 0; max 320 |
channels | integer | - | 1 for mono, 2 for stereo. 0 keeps the source's. min 0; max 2 |
normalise | boolean | - | Normalise the loudness to -16 LUFS, the figure streaming platforms use |
sample_rate | integer | - | Resample, in hertz. 0 keeps the source's rate. min 0; max 192000 |
to | string | - | Mp3, wav, flac, opus or aac. GET /api/v1/tools/audio-convert/formats lists what this server can write. max length 8 |
two_pass | boolean | - | Measure the whole recording before correcting it. Costs a second decode and is the only way to hit the target reliably |
AudioFormat#
| Name | Type | Required | Description |
|---|---|---|---|
extension | string | - | The canonical extension, with the dot |
label | string | - | What to call it in an interface |
lossy | boolean | - | Whether a bit rate applies. FLAC and WAV are lossless and refuse one |
mime | string | - | The media type a file of this format has |
name | string | - | The identifier to send as options.to |
write | boolean | - | Whether this server can produce it |
CapabilitiesView#
| Name | Type | Required | Description |
|---|---|---|---|
engines | array of EngineView | - | Every external program, and whether this server has it |
limits | LimitsView | - | The numbers this server enforces |
tools | array of string | - | Every tool that can be submitted |
ClipOptions#
| Name | Type | Required | Description |
|---|---|---|---|
clip_seconds | integer | - | Clip length in seconds for split mode, 1 to 60. Default 60. min 0; max 60 |
crop | Crop | - | The area to keep, in pixels. Leave it out to keep the whole frame |
duration_seconds | number (double) | - | How much to keep, in seconds. 0 means to the end. min 0 |
frame_accurate | boolean | - | Cut exactly, by re-encoding. Slower; off by default, which cuts at the nearest keyframe |
mode | string | - | Trim keeps one range, split cuts the whole video into clips. Default trim. max length 16 |
start_seconds | number (double) | - | Where the cut starts, in seconds. Default 0. min 0 |
ConversionList#
| Name | Type | Required | Description |
|---|---|---|---|
data | array of ConversionView | - | The caller's conversions, newest first |
ConversionView#
| Name | Type | Required | Description |
|---|---|---|---|
bytes_in | integer (int64) | - | Size of the input in bytes |
bytes_out | integer (int64) | - | Size of the result in bytes, 0 until it finishes |
created_at | string (date-time) | - | When it was submitted |
error_message | string | - | What to tell the user, empty unless it failed |
error_type | string | - | A code from the error taxonomy, empty unless it failed |
expires_at | string (date-time) | - | When the result stops being downloadable |
finished_at | string (date-time) or null | - | When it ended, or null |
id | string | - | The conversion id, used to poll it, stream it or cancel it |
note | string | - | What the conversion did, in its own words. Empty when the file says it all |
phase | string | - | What it is doing now, empty once it has ended |
progress | integer | - | Percentage from 0 to 100 |
started_at | string (date-time) or null | - | When a worker picked it up, or null |
status | string | - | One of pending, running, finished, error, cancelled |
tool | string | - | Which conversion produced it |
Crop#
| Name | Type | Required | Description |
|---|---|---|---|
height | integer | - | |
width | integer | - | |
x | integer | - | |
y | integer | - |
DownloadOptions#
| Name | Type | Required | Description |
|---|---|---|---|
clip_seconds | integer | no | Clip length in seconds, 1 to 60. Default 60. min 0; max 60 |
clips | boolean | no | Split the result into consecutive clips, delivered individually and as a zip |
compress | boolean | no | Compress afterwards and keep whichever file is smaller |
kind | string | no | Video keeps the picture, audio gives MP3. Default video. max length 8 |
quality | string | no | Best or smallest. Default best. max length 16 |
url | string | yes | A YouTube, Instagram, X or TikTok URL. min length 1; max length 2048 |
EngineView#
| Name | Type | Required | Description |
|---|---|---|---|
name | string | - | The engine, as the configuration names it |
present | boolean | - | Whether it was resolved at startup |
version | string | - | The version it reported, empty when absent |
ErrorCatalog#
| Name | Type | Required | Description |
|---|---|---|---|
data | array of ErrorCatalogEntry | - | Every error code a conversion can end with |
ErrorCatalogEntry#
| Name | Type | Required | Description |
|---|---|---|---|
message | string | - | What to tell the user |
retry | boolean | - | Whether submitting the same input again could succeed |
type | string | - | The stable code, as it appears on a conversion |
ImageCompressOptions#
| Name | Type | Required | Description |
|---|---|---|---|
effort | integer | - | 1 to 10, meaning depends on the format. 0 uses the highest the encoder supports. min 0; max 10 |
mode | string | - | Lossless or lossy. Empty picks by format: lossless for PNG and GIF, lossy for JPEG and WebP. max length 16 |
quality | integer | - | 1 to 100, for a lossy compression. 0 uses the format's default. min 0; max 100 |
ImageConvertOptions#
| Name | Type | Required | Description |
|---|---|---|---|
crop_height | integer | - | Crop height. 0 means no crop. min 0; max 20000 |
crop_left | integer | - | Crop origin from the left, in source pixels. min 0; max 20000 |
crop_top | integer | - | Crop origin from the top, in source pixels. min 0; max 20000 |
crop_width | integer | - | Crop width. 0 means no crop. min 0; max 20000 |
effort | integer | - | 0 to 10, meaning depends on the format. 0 uses the default. min 0; max 10 |
flip | string | - | Horizontal or vertical. Empty means no flip. max length 16 |
height | integer | - | Target height in pixels. 0 leaves that axis open. min 0; max 20000 |
keep_animation | boolean | - | Keep every frame of an animated GIF or WebP. Off by default; only applies when the output format is animated too |
keep_metadata | boolean | - | Keep EXIF, XMP and IPTC. Off by default: a photograph's EXIF often carries GPS coordinates and a device serial number |
lossless | boolean | - | Lossless encoding for WebP, AVIF and JPEG XL. Ignored by formats with no lossless mode |
quality | integer | - | 1 to 100 for JPEG, WebP, AVIF and JPEG XL. 0 uses the format's default. min 0; max 100 |
resize | string | - | Fit, fill or exact. Empty leaves the size alone. max length 8 |
rotate | integer | - | Quarter turns clockwise: 0, 90, 180 or 270. min 0; max 270 |
to | string | - | Output format. GET /api/v1/tools/image-convert/formats lists the ones this server can write. max length 16 |
upscale | boolean | - | Allow making the image larger. Off by default: upscaling produces a bigger file that looks worse |
width | integer | - | Target width in pixels. 0 leaves that axis open. min 0; max 20000 |
ImageFormat#
| Name | Type | Required | Description |
|---|---|---|---|
animated | boolean | - | Whether the format can hold more than one frame |
extension | string | - | The canonical extension, with the dot |
label | string | - | What to call it in an interface |
mime | string | - | The media type a file of this format has |
name | string | - | The identifier to send as options.to |
read | boolean | - | Whether this server can read it |
write | boolean | - | Whether this server can produce it |
ImagesToPDFOptions#
| Name | Type | Required | Description |
|---|---|---|---|
fit | string | - | Contain fits inside the margins, fill covers the page, exact makes the page the image's own size. Default contain. max length 16 |
margin | number (double) | - | Points of space around the image, 0 to 144. Default 0. min 0; max 144 |
orientation | string | - | Auto turns each page to match its image. Also portrait or landscape. Default auto. max length 16 |
page_size | string | - | A4, a3, a5, letter or legal. Default a4. max length 16 |
quality | integer | - | Quality for images that have to be converted, 1 to 100. Default 90. A JPEG input is never re-encoded. min 0; max 100 |
Issue#
| Name | Type | Required | Description |
|---|---|---|---|
code | string | - | |
key | string | - | |
message | string | - | |
on | string | - | |
params | map of object | - | |
path | string | - |
LimitsView#
| Name | Type | Required | Description |
|---|---|---|---|
max_clip_seconds | integer | - | The longest clip a split produces |
max_clips | integer | - | The most clips one conversion delivers |
max_download_bytes | integer (int64) | - | The largest download allowed, 0 for no cap |
max_output_seconds | integer | - | The longest output a cut produces, 0 for no cap |
LinkStarted#
| Name | Type | Required | Description |
|---|---|---|---|
device_code | string | - | Secret to poll with. Never show it to the person |
expires_in | integer | - | Seconds until the link can no longer be approved |
interval | integer | - | Seconds to wait between polls |
user_code | string | - | The short code to show the person, formatted XXXX-XXXX |
verification_url | string | - | Where the person approves. It already contains the user code |
LinkToken#
| Name | Type | Required | Description |
|---|---|---|---|
abilities | array of string | - | What the key may do. Only when approved |
expires_at | string (date-time) or null | - | When the key stops working. Only when approved |
id | string | - | The key id, used to revoke it. Only when approved |
status | string | - | Pending, approved, denied or expired. A link that never existed reads as expired |
token | string | - | The secret key, shown once. Only when approved |
type | string | - | The authorization scheme, always Bearer. Only when approved |
MediaCapabilities#
| Name | Type | Required | Description |
|---|---|---|---|
flips | array of string | - | Horizontal or vertical |
formats | array of ImageFormat | - | Every image format, with whether this server can read it, write it, or both |
readable | array of string | - | The media types this server accepts as input |
resize_modes | array of string | - | Fit, fill or exact |
rotations | array of integer | - | The quarter turns a client may ask for |
writable | array of string | - | The formats this server can write, by name |
MediaFormat#
| Name | Type | Required | Description |
|---|---|---|---|
acodec | string | - | Its audio codec, or none |
bitrate_kbps | number (double) | - | Its total bitrate in kilobits per second |
bytes | integer (int64) | - | Its size, 0 when the platform does not say |
ext | string | - | Its container extension |
id | string | - | The platform's own format id |
resolution | string | - | Its frame size, empty for an audio-only stream |
vcodec | string | - | Its video codec, or none |
MediaView#
| Name | Type | Required | Description |
|---|---|---|---|
duration_seconds | number (double) | - | How long it is |
estimated_bytes | integer (int64) | - | The expected size at best quality. The cap is checked against this for quality=best |
formats | array of MediaFormat | - | Every stream the platform offers |
max_bytes | integer (int64) | - | The largest download this server allows |
platform | string | - | Youtube, instagram, x or tiktok |
smallest_bytes | integer (int64) | - | The expected size at quality=smallest, 0 when the platform declares none |
thumbnail | string | - | A link to the platform's own thumbnail |
title | string | - | The video's title, as the platform gives it |
too_large | boolean | - | Whether even the smallest stream is past the cap |
uploader | string | - | Who posted it |
NameList#
| Name | Type | Required | Description |
|---|---|---|---|
data | array of string | - | The accepted values, in the order to show them |
PDFCompareOptions#
A value of type object.
PDFCompressOptions#
| Name | Type | Required | Description |
|---|---|---|---|
level | string | - | Light keeps every page's appearance, balanced is the default, strong is for email. max length 16 |
PDFCropOptions#
| Name | Type | Required | Description |
|---|---|---|---|
bottom | number (double) | - | Points to trim from the bottom edge. min 0; max 1000 |
left | number (double) | - | Points to trim from the left edge. min 0; max 1000 |
pages | string | - | Pages to crop, as 1-3,5. Empty crops every page. max length 512 |
right | number (double) | - | Points to trim from the right edge. min 0; max 1000 |
top | number (double) | - | Points to trim from the top edge. min 0; max 1000 |
PDFFormsOptions#
| Name | Type | Required | Description |
|---|---|---|---|
action | string | - | List reports the fields as JSON; fill sets the values given; flatten turns the form into plain page content. Default list. max length 16 |
flatten | boolean | - | Flatten the form after filling it, so the values can no longer be edited |
values | array of PDFFormValue | - | The fields to fill, for the fill action. at most 1000 items |
PDFFormValue#
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | The field's full name, as the list action reports it. min length 1; max length 512 |
value | string | no | The value. A checkbox takes true or false; a radio group or a choice takes one of its options. max length 10000 |
PDFMergeOptions#
A value of type object.
PDFOCROptions#
| Name | Type | Required | Description |
|---|---|---|---|
deskew | boolean | - | Straighten pages that were scanned at a slight angle |
languages | array of string | - | Languages in the scan: eng, por. Several may be combined. Default eng. at most 4 items |
PDFOfficeOptions#
A value of type object.
PDFPageNumberOptions#
| Name | Type | Required | Description |
|---|---|---|---|
format | string | - | The label, with {n} for the number and {total} for the count. Default {n}. max length 200 |
pages | string | - | Pages to number, as 2-z. Empty numbers every page. max length 512 |
position | string | - | Top-left to bottom-right. Default bottom-center. max length 16 |
size | number (double) | - | Font size in points, 4 to 144. Default 10. min 0; max 144 |
start_at | integer | - | The number on the first numbered page. Default 1. min 0; max 100000 |
PDFPagesOptions#
| Name | Type | Required | Description |
|---|---|---|---|
pages | string | yes | Pages, as 1-3,5,8-z. z is the last page. min length 1; max length 512 |
PDFProtectOptions#
| Name | Type | Required | Description |
|---|---|---|---|
allow_extract | boolean | no | Allow text to be copied out. Screen-reader access is always allowed |
modify | string | no | All, annotate, form, assembly or none. Default all. max length 16 |
owner_password | string | yes | The password that lifts the restrictions. Required, and must differ from the opening password. min length 1; max length 256 |
print | string | no | Full, low or none. Default full. max length 8 |
user_password | string | no | The password needed to open the document. Leave empty to restrict permissions only. max length 256 |
PDFRepairOptions#
A value of type object.
PDFRotateOptions#
| Name | Type | Required | Description |
|---|---|---|---|
absolute | boolean | - | Set the rotation rather than add to the page's current one |
degrees | integer | - | 90, 180 or 270, clockwise. Default 90. min 0; max 360 |
pages | string | - | Pages to rotate, as 1-3,5. Empty rotates every page. max length 512 |
PDFSignOptions#
| Name | Type | Required | Description |
|---|---|---|---|
contact | string | no | How to reach the signer. Optional. max length 200 |
location | string | no | Where you are signing. Optional. max length 200 |
password | string | yes | The password of the .p12 certificate bundle. The key is used for this one signature and is not kept. min length 1; max length 256 |
reason | string | no | Why you are signing. Shown beside the signature. Optional. max length 200 |
PDFSplitOptions#
| Name | Type | Required | Description |
|---|---|---|---|
every | integer | - | Pages per file, for the every mode. Default 1. min 0; max 10000 |
mode | string | - | Every splits into groups of n pages; ranges uses the ranges given. Default every. max length 16 |
ranges | array of string | - | One range per output file, for the ranges mode. at most 500 items |
PDFToImageOptions#
| Name | Type | Required | Description |
|---|---|---|---|
dpi | integer | - | Resolution, 36 to 600. Default 150. min 0; max 600 |
format | string | - | Png or jpeg. Default png. max length 8 |
pages | string | - | Pages to render, as 1-3,5. Empty renders every page. max length 512 |
quality | integer | - | JPEG quality, 1 to 100. Default 85. min 0; max 100 |
PDFToPDFAOptions#
| Name | Type | Required | Description |
|---|---|---|---|
part | integer | - | PDF/A conformance: 1 for 1b, 2 for 2b, 3 for 3b. Default 2. min 0; max 3 |
PDFToTextOptions#
| Name | Type | Required | Description |
|---|---|---|---|
format | string | - | Text or markdown. Default text. max length 16 |
layout | boolean | - | Keep the page's column spacing, for the text format |
page_rules | boolean | - | Write a rule between pages, for the markdown format |
pages | string | - | One continuous range such as 1-20. Empty reads the whole document. max length 512 |
PDFUnlockOptions#
| Name | Type | Required | Description |
|---|---|---|---|
password | string | yes | The password that opens the document. It is tried once; there is no recovery of a password you do not have. min length 1; max length 256 |
PDFWatermarkOptions#
| Name | Type | Required | Description |
|---|---|---|---|
bold | boolean | no | Use the bold face |
gray | number (double) | no | 0 black to 1 white. Default 0. min 0; max 1 |
opacity | number (double) | no | 0 invisible to 1 opaque. Default 0.18. min 0; max 1 |
pages | string | no | Pages to stamp, as 1-3,5. Empty stamps every page. max length 512 |
position | string | no | Top-left to bottom-right, or center. Default center. max length 16 |
rotate | number (double) | no | Angle in degrees anticlockwise. 45 is the usual diagonal. min -360; max 360 |
size | number (double) | no | Font size in points, 4 to 144. 0 picks a size from the page width. min 0; max 144 |
text | string | yes | The text to stamp. Unaccented Latin letters, digits and punctuation. min length 1; max length 200 |
PixelSVGOptions#
| Name | Type | Required | Description |
|---|---|---|---|
alpha | string | - | Opacity keeps partial transparency, drop removes it. Default opacity. max length 16 |
max_colors | integer | - | Palette cap, 1 to 256. 0 uses the default, -1 means no reduction. min -1; max 256 |
mode | string | - | Square, rect or contour. Default rect. max length 16 |
scale | integer | - | Multiplies the rendered size. 0 and 1 both mean actual size. min 0; max 64 |
simplify | number (double) | - | Contour simplification in pixels, contour mode only. 0 keeps it pixel-exact. min 0; max 16 |
tolerance | integer | - | Merge colours closer than this (0 to 255). 0 disables merging. min 0; max 255 |
PlatformList#
| Name | Type | Required | Description |
|---|---|---|---|
data | array of PlatformView | - | Every platform a URL may belong to |
PlatformView#
| Name | Type | Required | Description |
|---|---|---|---|
hosts | array of string | - | The domains a URL may be on |
label | string | - | What to call it in an interface |
name | string | - | The stable id, as a conversion reports it |
Problem#
| Name | Type | Required | Description |
|---|---|---|---|
detail | string | - | |
errors | map of array of string | - | |
instance | string | - | |
issues | array of Issue | - | |
request_id | string | - | |
status | integer | - | |
title | string | - | |
type | string | - |
ResultFile#
| Name | Type | Required | Description |
|---|---|---|---|
expires_at | string (date-time) | - | When the file is deleted and the link stops working |
mime | string | - | Its media type |
name | string | - | The file name to save it as |
size_bytes | integer (int64) | - | Its size |
url | string | - | A signed link, valid until expires_at and no longer |
ResultList#
| Name | Type | Required | Description |
|---|---|---|---|
data | array of ResultFile | - | The files this conversion produced |
SpriteBuildOptions#
| Name | Type | Required | Description |
|---|---|---|---|
aseprite | boolean | - | Add Aseprite's per-frame duration and frameTags to the JSON formats |
extrude | integer | - | Repeat each frame's edge pixels into the padding, which is the fix for the dark halo transparent padding leaves. min 0; max 8 |
frame_ms | integer | - | Per-frame duration in milliseconds for the Aseprite extensions. 0 means 100. min 0; max 60000 |
layout | string | - | Grid or compact. Default grid, which Godot 4 and Unity import with no metadata file. max length 8 |
margin | integer | - | Transparent gutter at the sheet's edges. min 0; max 256 |
max_size | integer | - | Cap the sheet's width and height. 0 means 4096, which every GPU handles as one texture. min 0; max 8192 |
metadata | array of string | - | Metadata formats to write, at most four. at most 4 items |
padding | integer | - | Transparent gutter between two frames, which stops a neighbour's colour bleeding in. min 0; max 256 |
pot | boolean | - | Round the sheet up to a power of two on both axes |
SpriteCapabilities#
| Name | Type | Required | Description |
|---|---|---|---|
formats | array of SpriteFormat | - | Every metadata format, in the order the interface offers them |
layouts | array of string | - | How sprite-build arranges them |
max_formats | integer | - | How many metadata formats one conversion may ask for |
max_frames | integer | - | The most frames one conversion produces |
max_size | integer | - | The largest sheet dimension, in pixels |
modes | array of string | - | How sprite-split finds frames |
SpriteFormat#
| Name | Type | Required | Description |
|---|---|---|---|
extension | string | - | The file's extension, with the dot |
imports | string | - | One sentence saying what reads this format |
mime | string | - | The media type the result is served as |
name | string | - | The value to send in options.metadata |
trim | boolean | - | Whether the format can describe a trimmed frame. CSS cannot |
SpriteSplitOptions#
| Name | Type | Required | Description |
|---|---|---|---|
aseprite | boolean | - | Add Aseprite's per-frame duration and frameTags to the JSON formats |
background | string | - | Hex colour auto mode treats as empty, e.g. #ff00ff. Empty means transparency. max length 9 |
background_tolerance | integer | - | How far a pixel may be from the background colour and still count as background. min 0; max 255 |
cell_h | integer | - | Cell height in pixels. min 0; max 8192 |
cell_w | integer | - | Cell width in pixels. Give this and cell_h, or cols and rows. min 0; max 8192 |
cols | integer | - | Column count, as an alternative to the cell size. min 0; max 2048 |
frame_ms | integer | - | Per-frame duration in milliseconds for the Aseprite extensions. 0 means 100. min 0; max 60000 |
margin | integer | - | Gutter between the sheet's edge and the first cell. min 0; max 256 |
metadata | array of string | - | Metadata formats to write, at most four. GET /api/v1/tools/sprite-split/formats lists them. at most 4 items |
min_frame | integer | - | Drop a detected frame smaller than this many pixels, as noise. Auto mode only. min 0; max 1000000 |
mode | string | - | Grid or auto. Default grid. max length 8 |
prefix | string | - | Frame name prefix; the nth frame is prefix plus a zero-padded index. Default frame. max length 64 |
rows | integer | - | Row count. min 0; max 2048 |
spacing | integer | - | Gutter between two neighbouring cells. min 0; max 256 |
trim | boolean | - | Shrink each frame to its opaque box, recording the offset so an importer can re-inflate it. Refused with the css metadata format, which has nowhere to put the offset |
Token#
| Name | Type | Required | Description |
|---|---|---|---|
abilities | array of string | - | |
expires_at | string (date-time) or null | - | |
id | string | - | |
last_used_at | string (date-time) or null | - | |
name | string | - | |
resource | string | - | |
revoked_at | string (date-time) or null | - | |
user_id | string | - |
TokenIssued#
| Name | Type | Required | Description |
|---|---|---|---|
abilities | array of string | - | What this key may do |
expires_at | string (date-time) or null | - | When the key stops working, or null when it never expires |
id | string | - | The key id, used to revoke it |
token | string | - | The secret key. It is shown once; store it now |
type | string | - | The authorization scheme to use, always "Bearer" |
TokenList#
| Name | Type | Required | Description |
|---|---|---|---|
data | array of Token | - | The caller's keys, newest first, revoked ones included |
ToolList#
| Name | Type | Required | Description |
|---|---|---|---|
data | array of string | - | Every tool that can be submitted, by name |
TypeList#
| Name | Type | Required | Description |
|---|---|---|---|
data | array of string | - | Every MIME type an upload may have |
UploadList#
| Name | Type | Required | Description |
|---|---|---|---|
data | array of UploadView | - | Your uploads that no conversion has claimed yet, newest first |
UploadView#
| Name | Type | Required | Description |
|---|---|---|---|
created_at | string (date-time) | - | When it was accepted |
expires_at | string (date-time) | - | When an unused upload is deleted |
id | string | - | Use this as file_id when submitting a conversion |
mime | string | - | The type detected from the bytes, not from the name |
name | string | - | The sanitised file name |
size_bytes | integer (int64) | - | What was actually stored |
UsageView#
| Name | Type | Required | Description |
|---|---|---|---|
budget_seconds | integer (int64) | - | Today's budget in seconds of processing time. 0 when unlimited |
remaining_seconds | integer (int64) | - | What is left today, in seconds. 0 when unlimited or spent: read unlimited to tell them apart |
resets_at | string (date-time) | - | When the next day's budget starts (midnight UTC) |
spent_seconds | integer (int64) | - | Processing time spent today, in seconds |
stored_bytes | integer (int64) | - | Bytes of yours that are stored and have not expired: uploads and results |
stored_limit_bytes | integer (int64) | - | The most bytes an account may store at once. 0 when there is no cap |
unlimited | boolean | - | True when no daily budget applies to this account |
User#
| Name | Type | Required | Description |
|---|---|---|---|
created_at | string (date-time) | - | |
email | string | - | |
email_verified_at | string (date-time) or null | - | |
id | integer (int64) | - | |
name | string | - | |
updated_at | string (date-time) | - |
VideoCapabilities#
| Name | Type | Required | Description |
|---|---|---|---|
codecs | array of string | - | The video codecs this server can encode. An ffmpeg built without GPL support has no H.264 or H.265 |
containers | array of VideoContainer | - | Every output container, with the codecs it carries |
dithers | array of string | - | The dithering modes video-to-gif accepts |
gpl_build | boolean | - | Whether the video engine is built with GPL support, which H.264 and H.265 require |
max_gif_seconds | number (double) | - | The longest range video-to-gif will convert, in seconds |
max_seconds | number (double) | - | The longest video this server converts, in seconds |
VideoContainer#
| Name | Type | Required | Description |
|---|---|---|---|
audio_codecs | array of string | - | The audio codecs this container carries here, plus copy and mute |
extension | string | - | The canonical extension, with the dot |
label | string | - | What to call it in an interface |
name | string | - | The identifier to send as options.container |
video_codecs | array of string | - | The video codecs this container carries here |
VideoConvertOptions#
| Name | Type | Required | Description |
|---|---|---|---|
audio | string | - | Aac, opus, mp3, flac, vorbis, copy or mute. Empty uses the container's default. max length 8 |
audio_bitrate | integer | - | Audio bit rate in kbit/s. 0 uses the codec's default. min 0; max 512 |
container | string | - | Mp4, webm, mkv or mov. max length 8 |
crf | integer | - | Quality on the codec's own scale; the scales are not comparable between codecs. 0 uses the codec's default. min 0; max 63 |
frame_rate | number (double) | - | Cap the frame rate. 0 leaves it alone. min 0; max 240 |
height | integer | - | Scale to this height, keeping the shape. Only downwards. 0 leaves the resolution alone. min 0; max 4320 |
video | string | - | H264, h265, vp9 or av1. Empty uses the container's default. GET /api/v1/tools/video-convert/capabilities lists what this server has. max length 8 |
VideoToGIFOptions#
| Name | Type | Required | Description |
|---|---|---|---|
dither | string | - | Dithering mode. Empty uses sierra2_4a. max length 20 |
duration_seconds | number (double) | - | How long, in seconds. 0 takes the rest of the video, up to the 15 second limit. min 0 |
fps | integer | - | Frames per second. 0 uses 12, which divides 100 evenly and so plays evenly. min 0; max 50 |
start_seconds | number (double) | - | Where to start, in seconds. min 0 |
width | integer | - | Width in pixels. 0 uses 480: a GIF has no interframe compression, so doubling the width quadruples the file. min 0; max 1920 |

