videodraft 0.31.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -50,10 +50,10 @@ videodraft generate image "isometric workspace, warm light" --num 4 --download "
50
50
  videodraft generate video "slow dolly over a misty lake" --model google-veo3.1 --duration 6 --estimate
51
51
  videodraft generate video "A cyclist races through rain at night" --model minimax-h3-max --duration 8 --resolution 768p --prompt-expansion-mode balanced
52
52
  videodraft generate video "Image 1 is the rider. Video 1 sets the camera move." --model minimax-h3-max --duration 8 --ar adaptive --ref rider.png --ref-video camera.mp4
53
- videodraft generate video "Keep the product and match these camera moves" --model gemini-omni-1.1-flash --duration 8 --resolution 1080p --video-task generate --ref ./product.png --ref-video ./move-1.mp4 --ref-video ./move-2.mp4
54
- videodraft generate video "Keep the subject and use this camera language" --model gemini-omni-1.1-flash --source-video ./source.mp4 --ref-video ./camera-ref.mp4 --ref-video-duration 2.5 --video-task edit --resolution 1080p
55
- videodraft generate video "The scene continues as the camera follows her outside" --model gemini-omni-1.1-flash --source-video ./source.mp4 --extend --duration 8 --resolution 720p --download ./extended.mp4
56
- videodraft generate video --model gemini-omni-1.1-flash --previous-interaction-id INTERACTION_ID --ref-video ./new-motion-ref.mp4 --ref-video-duration 3 --resolution 4K --download ./edited-turn.mp4 # conversational edit; add --extend to lengthen
53
+ videodraft generate video "Keep the product and match these camera moves" --model gemini-omni-1.2-flash --duration 8 --resolution 1080p --video-task generate --ref ./product.png --ref-video ./move-1.mp4 --ref-video ./move-2.mp4
54
+ videodraft edit video ./source.mp4 "Keep the subject and turn the scene into a rainy night" --model gemini-omni-1.2-flash --resolution 1080p
55
+ videodraft generate video "The scene continues as the camera follows her outside" --model gemini-omni-1.2-flash --source-video ./source.mp4 --extend --duration 8 --resolution 720p --download ./extended.mp4
56
+ videodraft generate video "Make the lighting warmer" --model gemini-omni-1.2-flash --previous-interaction-id INTERACTION_ID --resolution 4K --download ./edited-turn.mp4 # Google conversational edit; add --extend --duration 8 to lengthen
57
57
  videodraft generate audio "Read this in a calm documentary voice" --voice vivi_mixed_en_zh_ja_es_id --download narration.mp3
58
58
  videodraft generate audio "Extend @Audio1 with soft rain" --ref-audio ./opening.wav --download extended.wav --format wav
59
59
  videodraft generate voiceover "Welcome to VideoDraft" --download welcome.mp3
@@ -236,14 +236,26 @@ MIT © VideoDraft
236
236
 
237
237
  GPT Image 2.6 Flare (`gpt-image-2.6-flare`) and Sunburst (`gpt-image-2.6-sunburst`) replace GPT Image 2.5 and stay Tier 1: Flare for fast everyday generation and editing, readable text and precise composition, Sunburst when extra precision or detail matters. Both take up to 16 references, 1-4 outputs, 1K/2K/4K, 10 aspect ratios and quality auto/low/medium/high/xhigh/max (auto is priced at max; low and medium are only modestly cheaper than high). PNG output, no seed. A Pika key needs an explicit quality. Older scripts that pass a 2.5 id run on the matching 2.6 model. MCP uses `reference_images`, `num_images`, `resolution`, `aspect_ratio` and `quality`; the CLI uses `--ref`, `--num`, `--resolution`, `--ar` and `--quality`.
238
238
 
239
+ GPT Image 2.6 also makes looping animated GIFs: add `--gif` (MCP `output_format: "gif"`), with `--frames 2-16` (`frame_count`, default 8) and `--frame-ms 20-2000` (`frame_duration_ms`, default 120). Frame size follows `--ar`, and `--resolution` does not apply. 2-8 frames cost the same; check with `--estimate`. Downloads keep the `.gif` extension. A Pika key cannot make GIFs.
240
+
241
+ ```bash
242
+ videodraft generate image "A neon OPEN sign flickering on, seamless loop" --model gpt-image-2.6-flare --gif --frames 12 --ar 21:9 --quality high --download ./out/
243
+ ```
244
+
239
245
  Ideogram 4.5 (`ideogram-v4.5`) replaces the visible Ideogram 4.0 entry and stays Tier 2. Quality: low, medium (default) or high, priced per image; very_low for regular edits. Supports 1-8 outputs, 1K/2K, seed, a source plus four additional references (three with a mask), regular/high edit precision, and text-to-image prompt expansion. MCP uses `source_image`, `reference_images`, `mask_url`, `edit_precision`, `enable_prompt_expansion`, `image_width`, and `image_height`. CLI equivalents are `--source-image`, repeatable `--ref`, `--mask`, `--edit-precision`, `--prompt-expansion`, `--image-width`, and `--image-height`. Precise/masked edits require Auto size with no resolution or custom dimensions. Masks match source dimensions and contain both black edit regions and white preserved regions. Quotes for very_low require the source/reference count (`reference_image_count` or `--ref-images`). Legacy 4.0 jobs retain their original backend support.
240
246
 
241
247
  FLUX 3 image (`flux-3-image`, separate from `flux-3-max` video) is Tier 2. It generates and edits with up to 10 references, 1-4 outputs, 1K/2K/4K (default 1K), prompt expansion (default on) and 14 aspect ratios plus auto. Each image is priced by output size (resolution and ratio); auto is quoted at the tier's highest price. Without an aspect ratio, a new image is 16:9 and an edit follows its first reference. No seed. MCP uses `reference_images`, `num_images`, `resolution`, `aspect_ratio` and `enable_prompt_expansion`; the CLI uses `--ref`, `--num`, `--resolution`, `--ar` and `--prompt-expansion`.
242
248
 
249
+ ### Gemini Omni 1.2 Flash
250
+
251
+ `gemini-omni-1.2-flash` replaces 1.1 in every picker and catalog. Old model IDs upgrade on new submissions. Generate 3-15s at 360p/720p/1080p/4K with audio; first-and-last-frame interpolation and extension remain 3-10s. Edit sources are 3-15s, with at most two image references on Google and no creative video references. Generation keeps ten total images and three reference videos, each <=15s. Google supports seed; Fal's five generation/edit/extend endpoints support generation, basic editing and uploaded-source extension, with no seed or interaction-ID continuation. Unsupported personal providers hide Omni. Rates are 2/6/9/18 credits per second; Fal BYOK costs zero VideoDraft credits. MCP: `generate_video` / `edit_video`; CLI: `generate video --model gemini-omni-1.2-flash --duration 15` / `edit video --model gemini-omni-1.2-flash`. [Model capabilities and provider guidance](skills/videodraft/references/models.md).
252
+
243
253
  ### Kling 4.0 video
244
254
 
245
255
  `kling-4.0` is Kling's newest model. It runs on Atlas Cloud first, with Fal, Higgsfield and Pika as backups. It is Tier 1, the preferred Kling after Gemini Omni and Seedance (Kling 3.0 and O3 keep 4K). Three modes, like Kling O3: text to video; image to video from a start image (`start_image_url`) with an optional end image (`end_image_url`), where framing follows the image; and reference to video, chosen when references are given, with an optional start image, up to 10 images including it (`reference_images`, cited as @Image1), up to 5 reference videos (`reference_videos`, cited as @Video1, 3-30s each) and up to 7 `elements` (cited as @Element1; up to 3 with `voice_id`, up to 3 video-backed). Reference and element videos share 5 clips and 30 seconds, and 15 inputs is the total. Duration is 3-30 whole seconds (default 5), or 1-6 `multi_prompt` shots of 1-30s each and 3-30s in total. 720p/1080p, audio always on, aspect ratio 16:9/9:16/1:1/21:9 plus auto with references (none in image to video). Reference mode has no end frame. No seed, negative prompt or quality tier. Reference and element videos are billed by length plus the output, at least twice the output; quote with `videodraft costs kling-4.0 --type video --duration 10 --ref-video-seconds 6` or `--estimate`. CLI: `--model kling-4.0` with `--start-image`, `--end-image`, `--ref`, `--ref-video`, `--element`, `--segment`, `--resolution`. `kling-4.0-video-edit` edits a whole 3-30s source with `videodraft edit video <source> "<prompt citing @Video1>" --model kling-4.0-video-edit`, up to 10 `--ref` images and 7 image-only `--element` entries, and an optional output `--duration` (3-30; default the source length). It bills the source plus the output, at least twice the output; quote with `videodraft costs kling-4.0-video-edit --type video --ref-video-seconds <source seconds>`. See the [model guide](skills/videodraft/references/models.md).
246
256
 
257
+ `kling-4.0-flash` is the faster, cheaper tier of Kling 4.0. It runs on Fal and Higgsfield (personal Fal and Higgsfield keys work; personal Atlas Cloud and Pika keys can't run it) and is Tier 2, so use it by name. It has the same three modes and inputs as Kling 4.0, at 720p only and 3-20 whole seconds (default 5), with audio always on: one prompt (no `multi_prompt` shots), image to video from a start image alone (no end image), and elements without `voice_id`. Reference mode takes an optional start image, up to 10 images including it, up to 5 reference videos of 3-20s each and up to 7 `elements` (up to 3 video-backed, 3-8s each). Reference and element videos share 5 clips and 20 seconds, and 15 inputs is the total. It costs less per second than Kling 4.0 and bills reference and element videos the same way; quote with `videodraft costs kling-4.0-flash --type video --duration 10 --ref-video-seconds 6` or `--estimate`. CLI: `--model kling-4.0-flash` with `--start-image`, `--ref`, `--ref-video`, `--element` and `--duration`; it refuses `--segment`, `--end-image`, element voices and any resolution but 720p. `kling-4.0-flash-video-edit` edits a whole 3-20s source at 720p with the same inputs as Kling 4.0 Video Edit: `videodraft edit video <source> "<prompt citing @Video1>" --model kling-4.0-flash-video-edit`, up to 10 `--ref` images and 7 image-only `--element` entries, and an optional output `--duration` (3-20; default the source length). It bills the source plus the output, at least twice the output; quote with `videodraft costs kling-4.0-flash-video-edit --type video --ref-video-seconds <source seconds>`.
258
+
247
259
  ### FLUX 3 Max video
248
260
 
249
261
  `flux-3-max` replaces FLUX 3 in discovery. It is Tier 1 immediately before MiniMax H3 Max; Gemini Omni remains the default. It accepts a prompt, first/last frames, or up to 10 timed keyframes, at 720p/1080p for 5-20 whole seconds (default 5). Audio is optional. MCP uses `reasoning_level: "low" | "high"` (high default) and `seed`; CLI uses `--reasoning-level`, `--seed`, `--duration`, `--start-image`, `--end-image`, and repeatable `--keyframe image.png@2.5`. No Draft/quality option or auto duration. Get current pricing with `videodraft costs flux-3-max --type video --duration 5 --resolution 720p` or `--estimate`. See the [model guide](skills/videodraft/references/models.md).