veogent 1.1.4 → 1.3.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 +108 -41
- package/index.js +392 -403
- package/package.json +1 -1
- package/.claude/worktrees/vigorous-hellman/README.md +0 -370
- package/.claude/worktrees/vigorous-hellman/api.js +0 -43
- package/.claude/worktrees/vigorous-hellman/auth.js +0 -77
- package/.claude/worktrees/vigorous-hellman/config.js +0 -37
- package/.claude/worktrees/vigorous-hellman/device-auth.js +0 -128
- package/.claude/worktrees/vigorous-hellman/flow-extractor.js +0 -66
- package/.claude/worktrees/vigorous-hellman/index.js +0 -1398
- package/.claude/worktrees/vigorous-hellman/package-lock.json +0 -3269
- package/.claude/worktrees/vigorous-hellman/package.json +0 -41
- package/.claude/worktrees/vigorous-hellman/skills/SKILL.md +0 -819
package/README.md
CHANGED
|
@@ -68,19 +68,18 @@ veogent setup-flow --flowkey "ya29.a0AW..." --tier "PAYGATE_TIER_TWO"
|
|
|
68
68
|
|
|
69
69
|
| Command | Description |
|
|
70
70
|
|---------|-------------|
|
|
71
|
-
| `capabilities` | Get backend capabilities (models, orientations, speed modes, queue) |
|
|
72
|
-
| `image-models` | List supported image generation models |
|
|
73
|
-
| `video-models` | List supported video generation models |
|
|
74
71
|
| `image-materials` | Get all available Image Material styles (e.g., `CINEMATIC`, `PIXAR_3D`) |
|
|
75
72
|
| `custom-prompts` | Get custom prompt templates and story directives |
|
|
76
73
|
|
|
74
|
+
> **Removed in v1.3.0:** `capabilities`, `image-models`, `video-models` — hardcoded values are: imagen3.5, veo_3_1_fast/veo_3_1_fast_r2v, HORIZONTAL/VERTICAL
|
|
75
|
+
|
|
77
76
|
### Project Management
|
|
78
77
|
|
|
79
78
|
| Command | Description |
|
|
80
79
|
|---------|-------------|
|
|
81
80
|
| `projects` | List all your available projects |
|
|
82
81
|
| `project <id>` | Get details for a specific project |
|
|
83
|
-
|
|
|
82
|
+
| ~~`create-project-description`~~ | Removed — use `quick-project` instead |
|
|
84
83
|
| `create-project` | Create a new project with name, keywords, material, chapters, objects |
|
|
85
84
|
|
|
86
85
|
### Chapters
|
|
@@ -104,30 +103,31 @@ veogent setup-flow --flowkey "ya29.a0AW..." --tier "PAYGATE_TIER_TWO"
|
|
|
104
103
|
|---------|-------------|
|
|
105
104
|
| `scenes <projectId> <chapterId>` | Get all scenes for a chapter |
|
|
106
105
|
| `create-scene` | Create new scene(s) from text content |
|
|
107
|
-
| `add-scene` | Add a single scene to a chapter with a user prompt |
|
|
108
106
|
| `edit-scene` | Edit scene image prompt via AI assistance |
|
|
109
107
|
|
|
108
|
+
### Compound Commands (v1.3.0+)
|
|
109
|
+
|
|
110
|
+
| Command | Description |
|
|
111
|
+
|---------|-------------|
|
|
112
|
+
| `quick-project` | Create a full project in one command: description → project → chapter content → scenes → wait materialization + characters |
|
|
113
|
+
| `batch-request` | Create generation jobs for multiple/all scenes at once with `--all` or `--scenes id1,id2,...` |
|
|
114
|
+
|
|
115
|
+
> **`--wait` flag:** Available on `request`, `batch-request`, `edit-scene`, and `quick-project`. Blocks until the operation completes, so you don't need separate `wait-images`/`wait-videos` calls.
|
|
116
|
+
|
|
110
117
|
### Generation Requests (Project-scoped)
|
|
111
118
|
|
|
112
119
|
> **Clarification:** `request` (singular) = **CREATE** a new job. `requests` (plural) = **LIST** existing jobs.
|
|
113
120
|
|
|
114
121
|
| Command | Description |
|
|
115
122
|
|---------|-------------|
|
|
116
|
-
| `request` | Create a generation job: `GENERATE_IMAGES`, `GENERATE_VIDEO`, or `VIDEO_UPSCALE` |
|
|
123
|
+
| `request` | Create a generation job: `GENERATE_IMAGES`, `GENERATE_VIDEO`, or `VIDEO_UPSCALE`. Supports `--wait` |
|
|
124
|
+
| `batch-request` | Batch generation for multiple scenes. Supports `--all`, `--wait`, `--concurrency` |
|
|
117
125
|
| `requests` | List generation requests (filterable by project, chapter, status) |
|
|
118
|
-
| `upscale` | Upscale video output for a scene (shortcut for `request --type VIDEO_UPSCALE`) |
|
|
119
|
-
| `assets <projectId> <chapterId> <sceneId> <type>` | Check generated assets history/status for a scene |
|
|
120
126
|
|
|
121
|
-
### Standalone Generation (
|
|
127
|
+
### ~~Standalone Generation~~ (Removed in v1.3.0)
|
|
122
128
|
|
|
123
|
-
>
|
|
124
|
-
|
|
125
|
-
| Command | Description |
|
|
126
|
-
|---------|-------------|
|
|
127
|
-
| `gen-image` | Generate image from text prompt (standalone, 3 credits, Imagen 3.5) |
|
|
128
|
-
| `gen-video` | Generate video from text prompt (standalone, 5 credits, Veo 3.1 Fast) |
|
|
129
|
-
| `standalone-requests` | List your standalone generation requests |
|
|
130
|
-
| `standalone-request <requestId>` | Get details of a specific standalone request |
|
|
129
|
+
> Standalone commands (`gen-image`, `gen-video`, `standalone-requests`, `standalone-request`) have been removed.
|
|
130
|
+
> Use project-scoped workflows for all generation. For quick starts, use `quick-project --wait`.
|
|
131
131
|
|
|
132
132
|
### Monitoring & Status
|
|
133
133
|
|
|
@@ -135,7 +135,6 @@ veogent setup-flow --flowkey "ya29.a0AW..." --tier "PAYGATE_TIER_TWO"
|
|
|
135
135
|
|---------|-------------|
|
|
136
136
|
| `scene-status` | Scene-level status with embedded asset URLs (image + video per scene) |
|
|
137
137
|
| `workflow-status` | Full workflow snapshot: scenes + requests + assets (agent helper) |
|
|
138
|
-
| `scene-materialization-status` | Check how many scenes have materialized for a chapter |
|
|
139
138
|
| `failed-requests` | List failed/error/rejected requests for a project/chapter (agent helper) |
|
|
140
139
|
| `wait-images` | Poll until all image requests in a chapter finish |
|
|
141
140
|
| `wait-videos` | Poll until all video requests in a chapter finish |
|
|
@@ -233,18 +232,12 @@ veogent request --type "GENERATE_VIDEO" --project <projectId> --chapter <chapter
|
|
|
233
232
|
veogent upscale --project <projectId> --chapter <chapterId> --scene <sceneId> --orientation "VERTICAL" --resolution "VIDEO_RESOLUTION_4K"
|
|
234
233
|
```
|
|
235
234
|
|
|
236
|
-
###
|
|
235
|
+
### Quick Project (replaces standalone)
|
|
237
236
|
|
|
238
237
|
```bash
|
|
239
|
-
#
|
|
240
|
-
veogent
|
|
241
|
-
|
|
242
|
-
# Quick video generation (5 credits)
|
|
243
|
-
veogent gen-video --prompt "A cat playing piano" --orientation "HORIZONTAL"
|
|
244
|
-
|
|
245
|
-
# Check standalone request status
|
|
246
|
-
veogent standalone-requests
|
|
247
|
-
veogent standalone-request <requestId>
|
|
238
|
+
# Create full project + scenes in one command
|
|
239
|
+
veogent quick-project --keyword "A cat playing piano" --lang English \
|
|
240
|
+
--material CINEMATIC --scenes 1 --wait
|
|
248
241
|
```
|
|
249
242
|
|
|
250
243
|
### Monitoring & Status
|
|
@@ -307,14 +300,15 @@ For robust automation:
|
|
|
307
300
|
- **`request`** — Creates a new generation job (POST). Requires `--type` flag.
|
|
308
301
|
- **`requests`** — Lists existing jobs (GET). Filterable with `--project`, `--chapter`, `--status`, `--limit`.
|
|
309
302
|
|
|
310
|
-
###
|
|
303
|
+
### Generation Commands
|
|
311
304
|
|
|
312
|
-
|
|
|
313
|
-
|
|
314
|
-
| **
|
|
315
|
-
| **
|
|
316
|
-
| **
|
|
317
|
-
| **
|
|
305
|
+
| Task | Command |
|
|
306
|
+
|------|---------|
|
|
307
|
+
| **Single image** | `request --type GENERATE_IMAGES --project ... --chapter ... --scene ... --wait` |
|
|
308
|
+
| **Single video** | `request --type GENERATE_VIDEO --project ... --chapter ... --scene ... --wait` |
|
|
309
|
+
| **All images** | `batch-request --type GENERATE_IMAGES --project ... --chapter ... --all --wait` |
|
|
310
|
+
| **All videos** | `batch-request --type GENERATE_VIDEO --project ... --chapter ... --all --wait` |
|
|
311
|
+
| **Full project** | `quick-project --keyword "..." --lang ... --material ... --scenes 5 --wait` |
|
|
318
312
|
|
|
319
313
|
### Status Commands: When to Use Which
|
|
320
314
|
|
|
@@ -328,12 +322,86 @@ For robust automation:
|
|
|
328
322
|
|
|
329
323
|
---
|
|
330
324
|
|
|
325
|
+
## Video Speed Modes
|
|
326
|
+
|
|
327
|
+
VEOGENT supports three video speed modes via `--speed` on `request` and `batch-request`:
|
|
328
|
+
|
|
329
|
+
| Mode | Description | Use case |
|
|
330
|
+
|------|-------------|----------|
|
|
331
|
+
| `normal` | Standard playback speed (default) | Most scenes, dialogue, actions |
|
|
332
|
+
| `timelapse` | Accelerated time compression | Sunrise/sunset, city traffic, cooking montage, cloud movement |
|
|
333
|
+
| `slowmotion` | Slow-motion playback | Impact moments, water splash, dramatic reveal, emotional beats |
|
|
334
|
+
|
|
335
|
+
```bash
|
|
336
|
+
# Normal speed (default)
|
|
337
|
+
veogent request --type GENERATE_VIDEO --project X --chapter Y --scene Z --speed normal
|
|
338
|
+
|
|
339
|
+
# Timelapse
|
|
340
|
+
veogent request --type GENERATE_VIDEO --project X --chapter Y --scene Z --speed timelapse
|
|
341
|
+
|
|
342
|
+
# Slow motion for dramatic effect
|
|
343
|
+
veogent request --type GENERATE_VIDEO --project X --chapter Y --scene Z --speed slowmotion
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
> **Tip:** Speed mode affects Veo's generation. Timelapse tends to produce more camera movement and environmental change. Slowmotion emphasizes subject detail and motion blur.
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
## Chained Video Generation (endScene)
|
|
351
|
+
|
|
352
|
+
Generate continuous video that transitions smoothly from one scene to the next using `--endscene`:
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
veogent request --type GENERATE_VIDEO --project X --chapter Y --scene sceneA \
|
|
356
|
+
--endscene sceneB --orientation VERTICAL --videomodel veo_3_1_fast
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
### How it works
|
|
360
|
+
1. Veo uses **sceneA's image** as the starting frame
|
|
361
|
+
2. Veo uses **sceneB's image** as the ending frame
|
|
362
|
+
3. The generated video transitions smoothly between both scenes
|
|
363
|
+
4. Response includes `generationMode: "CHAINED_VIDEO"` and `end_scene_id`
|
|
364
|
+
|
|
365
|
+
### When to use
|
|
366
|
+
- Scene transitions that need visual continuity (character walks from location A to B)
|
|
367
|
+
- Smooth camera movements between setups
|
|
368
|
+
- Story beats that connect two distinct moments
|
|
369
|
+
|
|
370
|
+
### Requirements
|
|
371
|
+
- Both sceneA and sceneB must have successful images (matching orientation)
|
|
372
|
+
- Uses the same Flow Key / credit system as regular video generation
|
|
373
|
+
|
|
374
|
+
---
|
|
375
|
+
|
|
331
376
|
## 🤖 For AI Agents
|
|
332
377
|
|
|
333
378
|
Veogent CLI ships with a comprehensive **[`skills/SKILL.md`](./skills/SKILL.md)** guide optimized for LLM/Coding Agents context processing. It defines exact DTO validations, model enumerations, camera prompting techniques, the full production pipeline, and error handling — everything an agent needs to orchestrate complete projects without hitting `400 Bad Request`.
|
|
334
379
|
|
|
335
380
|
### Recommended Agent Workflow (Production)
|
|
336
381
|
|
|
382
|
+
**Option A: Quick Start (v1.3.0+ compound commands)**
|
|
383
|
+
```bash
|
|
384
|
+
# 1. Create full project in one command (steps 1-6 combined)
|
|
385
|
+
veogent quick-project --keyword "shiba night market" --lang Vietnamese \
|
|
386
|
+
--material CINEMATIC --scenes 5 --wait
|
|
387
|
+
|
|
388
|
+
# 2. Generate all images at once
|
|
389
|
+
veogent batch-request --type GENERATE_IMAGES --project X --chapter Y \
|
|
390
|
+
--all --orientation VERTICAL --wait
|
|
391
|
+
|
|
392
|
+
# 3. QA images → fix with edit-scene
|
|
393
|
+
veogent edit-scene --project X --chapter Y --scene Z \
|
|
394
|
+
--userprompt "Mochi walks through the market gate" --wait
|
|
395
|
+
|
|
396
|
+
# 4. Generate all videos at once
|
|
397
|
+
veogent batch-request --type GENERATE_VIDEO --project X --chapter Y \
|
|
398
|
+
--all --orientation VERTICAL --wait
|
|
399
|
+
|
|
400
|
+
# 5. QA videos → fix and regenerate
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
**Option B: Step-by-step (full control)**
|
|
404
|
+
|
|
337
405
|
1. Resolve optional IDs first (if missing):
|
|
338
406
|
- `veogent custom-prompts`
|
|
339
407
|
- `veogent image-materials` (default fallback: `CINEMATIC`)
|
|
@@ -351,13 +419,12 @@ Veogent CLI ships with a comprehensive **[`skills/SKILL.md`](./skills/SKILL.md)*
|
|
|
351
419
|
- `veogent scene-materialization-status --project <projectId> --chapter <chapterId>` — verify `status: "READY"`
|
|
352
420
|
- If missing/fail: inspect `veogent requests --limit 20`, recover via `veogent edit-character`.
|
|
353
421
|
8. Generate scene images:
|
|
354
|
-
- `veogent request --type "GENERATE_IMAGES"
|
|
355
|
-
- If image is reported wrong,
|
|
356
|
-
|
|
357
|
-
- `veogent edit-scene --
|
|
358
|
-
- `veogent edit-scene --request <requestId> ...` (direct edit on prior generated image)
|
|
422
|
+
- `veogent request --type "GENERATE_IMAGES" ... --wait`
|
|
423
|
+
- If image is reported wrong, fix via:
|
|
424
|
+
- `veogent edit-scene --userprompt "..." --wait` (prompt refinement), or
|
|
425
|
+
- `veogent edit-scene --request <requestId> ... --wait` (direct edit on prior generated image)
|
|
359
426
|
9. Generate video only after matching-orientation image exists successfully:
|
|
360
|
-
- `veogent request --type "GENERATE_VIDEO"
|
|
427
|
+
- `veogent request --type "GENERATE_VIDEO" ... --wait`
|
|
361
428
|
|
|
362
429
|
> 📖 For the full detailed guide with all commands, options tables, and examples, see **[`skills/SKILL.md`](./skills/SKILL.md)**.
|
|
363
430
|
|