Workflows
Recipes
Worked examples of CLI pipelines.
1. Image → Video (one-shot)
dlazy gpt-image-2 --prompt "hero key visual, cyberpunk noir" \
| dlazy veo-3.1 --firstFrame - --prompt "camera slowly pushes in, neon haze"2. 4-up Variants → Pick the Best → Animate
# Generate 4 image variants in parallel
dlazy gpt-image-2 --prompt "neon-rain alley" --batch 4 \
| tee variants.json \
| dlazy veo-3.1 --firstFrame @0.url --prompt "drone shot, 4 seconds"
# Manually pick variant 2 instead
dlazy veo-3.1 \
--firstFrame "$(jq -r ".result.outputs[1].url" variants.json)" \
--prompt "drone shot, 4 seconds"3. Async Submit → Resume Later
# Submit
GEN=$(dlazy veo-3.1 --firstFrame hero.png --prompt "..." --no-wait \
| jq -r ".result.task.generateId")
# Hours later — resume
dlazy status "$GEN" --wait --tool veo-3.1 \
| jq -r ".result.outputs[0].url"