dLazy AIdLazy AI
CLI

Local Files & data: URLs

Pass local images/videos directly to media flags.

Any flag whose schema has mediaType: image | video | audio accepts:

  • https://... — passed through to the model as-is
  • data:image/png;base64,... — uploaded to dLazy object storage; the resulting public URL replaces the value
  • ./path/to/file.png — same as above (file is read, uploaded, swapped)
dlazy gpt-image-2 --images ./hero.png --prompt "stylize as oil painting"
dlazy veo-3.1 --firstFrame ./first.jpg --lastFrame ./last.jpg --prompt "morph"

Limits

  • Files larger than 100 MB print a stderr warning (slow upload).
  • Files larger than 500 MB are rejected with file_too_large.
  • Missing files raise file_not_found (exit code 2).
  • Upload failures surface as upload_failed with the underlying reason in details.

Inspect Without Uploading

--dry-run skips both auth and uploads — local paths and data: URLs are echoed verbatim into the resolved input, so you can verify your command shape without touching the network.

On this page