Skip to content

ittybit tasks create

Create and run a task from JSON

Create a task from a JSON body and run it locally.

The —body flag accepts a JSON string or ”-” to read from stdin.

Example: ittybit tasks create —body ’{“kind”:“video”,“input”:“input.mp4”,“options”:{“format”:“mp4”}}’ echo ’{“kind”:“image”,“input”:“photo.jpg”,“options”:{}}’ | ittybit tasks create —body -

ittybit tasks create [flags]
--body string Task spec as JSON (use - for stdin)
-h, --help help for create
--cloud Run on Ittybit cloud infrastructure instead of locally
--connection string Connection name to use
--debug Show debug output including ffmpeg commands and stderr
--json Output as JSON
-o, --output string Output file path
--tty Output as human-readable text