Gen
Use this skill to generate user-facing artifacts through the Okou CLI:
okou generate -h
okou generate is the source of truth. Always inspect the current command help when exact flags, models, styles, or providers matter.
Core Commands
okou generate image - billed image file generation; supports built-in models, image editing/reference inputs, image style registry selection, and connector guidance.
okou generate video - billed video file generation; supports built-in video models, first/last frames, reference media, audio controls, and connector guidance.
okou generate avatar-video - billed JoggAI talking-avatar video generation; supports built-in public avatar and voice discovery, script or audio input, and JoggAI connector guidance.
okou generate voice - billed speech audio generation; supports built-in voices and connector guidance.
okou generate presentation - returns an Open Design resource-selection packet for an HTML presentation that the agent authors and hosts.
okou generate website - returns website authoring instructions / an Open Design packet that the agent uses to build and host a static site.
okou generate report, docs-design, poster, dashboard-design, mobile-app-design - return Open Design resource-selection packets for static HTML artifacts.
okou generate text, code, document, audio - list connector-backed options and print connector skill-invocation guidance; these do not have built-in platform pipelines unless the CLI help says otherwise.
Run okou generate <type> with no generation input to list available providers for that artifact type. Add --all when unavailable or not-yet-authorized connectors are relevant.
Generation Workflow
Identify the artifact type from the user's request.
- Use
image for raster images, edits, references, thumbnails, icons, illustrations, and visual assets.
- Use
video for generated motion, animated frames, product clips, or reference-driven video.
- Use
avatar-video for a talking avatar driven by a narration script or public audio URL.
- Use
voice for speech audio from text.
- Use Open Design artifact commands for websites, decks, reports, posters, docs, dashboards, and mobile UI prototypes.
- Use connector-listing commands for text, code, document, or non-speech audio generation.
Discover current capability before committing.
- Run
okou generate <type> -h for flags and built-in model support.
- Run
okou generate <type> to see available providers.
- If the user asked for a connector/provider by name, run
okou generate <type> --provider <name> to get invocation guidance, then follow that provider skill.
Determine whether style discovery is needed.
- For styled images, inspect the current style registry from
okou generate image -h.
- Do not hardcode style names or style descriptions in this skill. Treat the registry printed by the CLI as the live source.
- Choose a registered style when the user's wording clearly matches a trigger, named style, or visual direction in the registry.
- To obtain style-specific prompt guidance, run
okou generate image --style <id> --prompt "<brief>" --compile, follow the returned packet, then generate with --compiled-prompt "<final prompt>".
- Use
--raw-prompt "<final prompt>" when the user explicitly wants no registry style, wants photorealism/model-native output, supplies a fully specified prompt, or no registry style is a good match. For video keyframes, preserve the selected video's visual direction; do not add an unrelated image style.
- When no style is obvious but style materially affects the result, ask the user to choose among a few options summarized from the live registry or ask whether to proceed without a style.
Decide provider and model.
- Prefer
--provider built-in when the user wants a direct artifact, does not name a connector, and the built-in pipeline supports the request.
- Use connector guidance when the user names a provider, needs a provider-specific capability, or the requested artifact type is connector-only.
- Ask the user when the choice changes cost, latency, fidelity, licensing, account usage, or final format in a way that is not implied by the request.
- Otherwise choose a sensible default from the CLI help and proceed.
Build the prompt.
- Preserve the user's core intent, constraints, audience, brand, source materials, aspect ratio, duration, size, format, and delivery target.
- Add operational details only when they improve generation reliability: composition, visual hierarchy, must-include/must-avoid elements, target medium, and reference handling.
- For avatar video, discover public avatar and voice IDs through the CLI before generation. Never invent either ID, and use exactly one of script or audio URL input.
- For style-guided image generation, let the selected registry style drive stylistic details through the compilation packet.
- For prompt text that is long or quote-sensitive, use a file and a safely quoted argument, or stdin when the selected prompt mode supports it.
Execute and wait for completion.
- For
video, follow Video preview below before submitting a video job, including template and connector routes.
- Run the selected
okou generate <type> command.
- For commands that return an Open Design resource-selection packet, follow the packet: author the artifact, verify it locally if needed, and host static outputs with
okou host.
- For commands that return
/f/ file URLs, keep the URL and metadata for the user.
- If generation fails because of missing credits, run
okou doctor credit.
- If connector auth fails, run
okou doctor check-connector using the environment name or URL from the provider guidance.
Deliver the result.
- Give the user the generated URL or hosted artifact URL.
- Mention important parameters used: provider, model, selected style or raw prompt mode, size/aspect ratio, duration, voice, or site slug.
- If the output is temporary or provider-hosted with expiration, download or host a durable copy when appropriate.
Video preview
- Before generating a video, prepare a few keyframes matching the user's subject, style, and aspect ratio. Reuse suitable supplied or already approved images.
- Show the actual images through accessible links, briefly describe the intended motion, and ask the user to confirm. End the turn and wait; do not start a video job before confirmation. Revise the preview if requested.
- After confirmation, generate the video. Use the approved images as first/last frames or references when supported by the selected model; otherwise follow the approved visual direction in the prompt. Reuse existing confirmation for an unchanged preview.
When using BytePlus/Seedance, choose one supported input mode: first/last frames (--first-frame-image-url, --last-frame-image-url) or reference media (--image-url, --video-url, --audio-url). Never combine these groups in one request. If the user's requirements need both modes, explain the tradeoff before choosing; do not silently drop supplied inputs. Correct conflicting inputs before retrying.
Keep the preview message short: the images, a brief motion description, and one confirmation question.
Asking vs. Choosing
For video, obtain the preview confirmation above before proceeding.
Ask the user before generation when:
- The prompt is too underspecified to produce a useful artifact.
- Multiple provider/style/model choices are plausible and materially different.
- The command will spend meaningful credits and the request did not imply that spend.
- The user requested brand, person, legal, medical, financial, or other high-stakes accuracy that needs source material.
- Required inputs are missing, such as source images, brand assets, narration text, dimensions, or audience.
Proceed without asking when:
- The user gave enough context for a reasonable first version.
- The built-in default clearly fits the request.
- The user asked for speed or explicitly delegated choices.
- The missing details can be safely inferred and refined after the first artifact.
Common Patterns
List current providers:
okou generate image
okou generate video
okou generate voice
Discover public JoggAI avatars and voices, then generate through the built-in pipeline:
okou generate avatar-video --provider built-in --list-avatars
okou generate avatar-video --provider built-in --list-voices
okou generate avatar-video --provider built-in --avatar-id "<avatar-id>" --voice-id "<voice-id>" --script "<script>"
Get JoggAI connector skill guidance for BYOK operations:
okou generate avatar-video --provider joggai
Inspect current image styles and flags:
okou generate image -h
Compile a styled image prompt after selecting a live registry style, then use the packet's final prompt:
okou generate image --style "<style-id>" --prompt "<brief>" --compile
okou generate image --provider built-in --compiled-prompt "<final prompt>"
Generate an unstyled/model-native image:
okou generate image --provider built-in --raw-prompt "<prompt>"
Use connector guidance instead of built-in generation:
okou generate video --provider "<connector-name>"
Generate a static Open Design artifact:
okou generate website --prompt "<brief>"
Then follow the returned packet to build and host the artifact.
1---2name: gen3description: Use Okou generation pipelines for images, video, talking-avatar videos, voice, presentations, websites, reports, and designs.4---5
6# Gen
7
8Use this skill to generate user-facing artifacts through the Okou CLI:
9
10```bash
11okou generate -h
12```
13
14`okou generate` is the source of truth. Always inspect the current command help when exact flags, models, styles, or providers matter.
15
16## Core Commands
17
18- `okou generate image` - billed image file generation; supports built-in models, image editing/reference inputs, image style registry selection, and connector guidance.
19- `okou generate video` - billed video file generation; supports built-in video models, first/last frames, reference media, audio controls, and connector guidance.
20- `okou generate avatar-video` - billed JoggAI talking-avatar video generation; supports built-in public avatar and voice discovery, script or audio input, and JoggAI connector guidance.
21- `okou generate voice` - billed speech audio generation; supports built-in voices and connector guidance.
22- `okou generate presentation` - returns an Open Design resource-selection packet for an HTML presentation that the agent authors and hosts.
23- `okou generate website` - returns website authoring instructions / an Open Design packet that the agent uses to build and host a static site.
24- `okou generate report`, `docs-design`, `poster`, `dashboard-design`, `mobile-app-design` - return Open Design resource-selection packets for static HTML artifacts.
25- `okou generate text`, `code`, `document`, `audio` - list connector-backed options and print connector skill-invocation guidance; these do not have built-in platform pipelines unless the CLI help says otherwise.
26
27Run `okou generate <type>` with no generation input to list available providers for that artifact type. Add `--all` when unavailable or not-yet-authorized connectors are relevant.
28
29## Generation Workflow
30
311. Identify the artifact type from the user's request.
32 - Use `image` for raster images, edits, references, thumbnails, icons, illustrations, and visual assets.
33 - Use `video` for generated motion, animated frames, product clips, or reference-driven video.
34 - Use `avatar-video` for a talking avatar driven by a narration script or public audio URL.
35 - Use `voice` for speech audio from text.
36 - Use Open Design artifact commands for websites, decks, reports, posters, docs, dashboards, and mobile UI prototypes.
37 - Use connector-listing commands for text, code, document, or non-speech audio generation.
38
392. Discover current capability before committing.
40 - Run `okou generate <type> -h` for flags and built-in model support.
41 - Run `okou generate <type>` to see available providers.
42 - If the user asked for a connector/provider by name, run `okou generate <type> --provider <name>` to get invocation guidance, then follow that provider skill.
43
443. Determine whether style discovery is needed.
45 - For styled images, inspect the current style registry from `okou generate image -h`.
46 - Do not hardcode style names or style descriptions in this skill. Treat the registry printed by the CLI as the live source.
47 - Choose a registered style when the user's wording clearly matches a trigger, named style, or visual direction in the registry.
48 - To obtain style-specific prompt guidance, run `okou generate image --style <id> --prompt "<brief>" --compile`, follow the returned packet, then generate with `--compiled-prompt "<final prompt>"`.
49 - Use `--raw-prompt "<final prompt>"` when the user explicitly wants no registry style, wants photorealism/model-native output, supplies a fully specified prompt, or no registry style is a good match. For video keyframes, preserve the selected video's visual direction; do not add an unrelated image style.
50 - When no style is obvious but style materially affects the result, ask the user to choose among a few options summarized from the live registry or ask whether to proceed without a style.
51
524. Decide provider and model.
53 - Prefer `--provider built-in` when the user wants a direct artifact, does not name a connector, and the built-in pipeline supports the request.
54 - Use connector guidance when the user names a provider, needs a provider-specific capability, or the requested artifact type is connector-only.
55 - Ask the user when the choice changes cost, latency, fidelity, licensing, account usage, or final format in a way that is not implied by the request.
56 - Otherwise choose a sensible default from the CLI help and proceed.
57
585. Build the prompt.
59 - Preserve the user's core intent, constraints, audience, brand, source materials, aspect ratio, duration, size, format, and delivery target.
60 - Add operational details only when they improve generation reliability: composition, visual hierarchy, must-include/must-avoid elements, target medium, and reference handling.
61 - For avatar video, discover public avatar and voice IDs through the CLI before generation. Never invent either ID, and use exactly one of script or audio URL input.
62 - For style-guided image generation, let the selected registry style drive stylistic details through the compilation packet.
63 - For prompt text that is long or quote-sensitive, use a file and a safely quoted argument, or stdin when the selected prompt mode supports it.
64
656. Execute and wait for completion.
66 - For `video`, follow **Video preview** below before submitting a video job, including template and connector routes.
67 - Run the selected `okou generate <type>` command.
68 - For commands that return an Open Design resource-selection packet, follow the packet: author the artifact, verify it locally if needed, and host static outputs with `okou host`.
69 - For commands that return `/f/` file URLs, keep the URL and metadata for the user.
70 - If generation fails because of missing credits, run `okou doctor credit`.
71 - If connector auth fails, run `okou doctor check-connector` using the environment name or URL from the provider guidance.
72
737. Deliver the result.
74 - Give the user the generated URL or hosted artifact URL.
75 - Mention important parameters used: provider, model, selected style or raw prompt mode, size/aspect ratio, duration, voice, or site slug.
76 - If the output is temporary or provider-hosted with expiration, download or host a durable copy when appropriate.
77
78## Video preview
79
801. Before generating a video, prepare a few keyframes matching the user's subject, style, and aspect ratio. Reuse suitable supplied or already approved images.
812. Show the actual images through accessible links, briefly describe the intended motion, and ask the user to confirm. End the turn and wait; do not start a video job before confirmation. Revise the preview if requested.
823. After confirmation, generate the video. Use the approved images as first/last frames or references when supported by the selected model; otherwise follow the approved visual direction in the prompt. Reuse existing confirmation for an unchanged preview.
83
84When using BytePlus/Seedance, choose one supported input mode: first/last frames (`--first-frame-image-url`, `--last-frame-image-url`) or reference media (`--image-url`, `--video-url`, `--audio-url`). Never combine these groups in one request. If the user's requirements need both modes, explain the tradeoff before choosing; do not silently drop supplied inputs. Correct conflicting inputs before retrying.
85
86Keep the preview message short: the images, a brief motion description, and one confirmation question.
87
88## Asking vs. Choosing
89
90For video, obtain the preview confirmation above before proceeding.
91
92Ask the user before generation when:
93
94- The prompt is too underspecified to produce a useful artifact.
95- Multiple provider/style/model choices are plausible and materially different.
96- The command will spend meaningful credits and the request did not imply that spend.
97- The user requested brand, person, legal, medical, financial, or other high-stakes accuracy that needs source material.
98- Required inputs are missing, such as source images, brand assets, narration text, dimensions, or audience.
99
100Proceed without asking when:
101
102- The user gave enough context for a reasonable first version.
103- The built-in default clearly fits the request.
104- The user asked for speed or explicitly delegated choices.
105- The missing details can be safely inferred and refined after the first artifact.
106
107## Common Patterns
108
109List current providers:
110
111```bash
112okou generate image
113okou generate video
114okou generate voice
115```
116
117Discover public JoggAI avatars and voices, then generate through the built-in pipeline:
118
119```bash
120okou generate avatar-video --provider built-in --list-avatars
121okou generate avatar-video --provider built-in --list-voices
122okou generate avatar-video --provider built-in --avatar-id "<avatar-id>" --voice-id "<voice-id>" --script "<script>"
123```
124
125Get JoggAI connector skill guidance for BYOK operations:
126
127```bash
128okou generate avatar-video --provider joggai
129```
130
131Inspect current image styles and flags:
132
133```bash
134okou generate image -h
135```
136
137Compile a styled image prompt after selecting a live registry style, then use the packet's final prompt:
138
139```bash
140okou generate image --style "<style-id>" --prompt "<brief>" --compile
141okou generate image --provider built-in --compiled-prompt "<final prompt>"
142```
143
144Generate an unstyled/model-native image:
145
146```bash
147okou generate image --provider built-in --raw-prompt "<prompt>"
148```
149
150Use connector guidance instead of built-in generation:
151
152```bash
153okou generate video --provider "<connector-name>"
154```
155
156Generate a static Open Design artifact:
157
158```bash
159okou generate website --prompt "<brief>"
160```
161
162Then follow the returned packet to build and host the artifact.