← Files OrisuARCHIVED FILE

skills/orisu-workflows/SKILL.md

6.97 KB · Nov 15, 2026 · 06:40 UTC

↓ Download file

See the change to this file →

---
name: orisu-workflows
description: Use for Orisu media tasks that no more specific Orisu skill covers, such as writing text with a model, generating or editing a one-off image or video, upscaling or removing a video background, lip-syncing a photo to audio, changing the voice in a recording, transcription; for checking on runs and finding or showing files in the Orisu library; for running a saved Orisu workflow or app again; and for reading or adding to the brand's knowledge. Prefer the product photo, ad, scene, cleanup, placement, concept, motion, captions, voiceover, thumbnail and audio skills when the request matches one of them.
---

# Working with Orisu

Each Orisu tool does one job and returns its result in the conversation. Chain steps yourself: every result lists its files in `orisu_media.items`, and each file's `asset_id` is the input for the next step.

## Tools by job

| Job | Tool | Key inputs |
|---|---|---|
| Write text with a model | `generate_text` | `inputs.input_text_prompt`; optional `inputs.input_media` images to look at |
| New image | `generate_image` | `config.prompt`; optional `inputs.input_reference_images` |
| Edit an image | `edit_image` | `inputs.input_image`, `config.prompt` |
| Cut out the subject | `remove_background` | `inputs.input_image` |
| Enlarge an image | `upscale_image` | `inputs.input_image`, `config.scale_factor` |
| New aspect ratio | `change_aspect_ratio` | `inputs.input_image`, `config.targetAspectRatio` |
| Change lighting | `relight` | `inputs.input_image`, `inputs.input_instructions` |
| Image to SVG | `vectorize_image` | `inputs.input_image` |
| New video clip | `generate_video` | `config.prompt`; optional `inputs.input_first_frame` image |
| Sharper video | `upscale_video` | `inputs.input_video` |
| Remove video background | `remove_video_background` | `inputs.input_video` |
| Burn in captions | `add_video_subtitles` | `inputs.input_video` |
| Make a face speak | `generate_lipsync` | `inputs.input_audio` plus `inputs.input_image` or `inputs.input_video` |
| Voiceover | `generate_speech` | `config.prompt`, `config.voice` |
| Music | `generate_music` | `config.prompt` |
| Sound effect | `generate_sound_effects` | `config.prompt` |
| Re-voice a recording | `change_voice` | `inputs.input_audio`, `config.voice` |
| Speech to text | `transcribe_audio` | `inputs.input_audio` |

Every model tool takes `config.model` (the schema lists the choices and each model's options), estimates the cost, runs once and returns the run with its outputs. Media inputs are `{ "kind": "image" | "video" | "audio", "assetId": "..." }` references, never URLs.

Not available on this connection: dubbing into another language, publishing new apps, trimming or merging clips, mixing audio into video, scraping and feeds. If asked, say so and offer what is available (for example a new voiceover from a translated script instead of a dub).

## Example: a talking product mascot

Three steps, each feeding the next. First the voice:

```json
{ "tool": "generate_speech", "arguments": {
  "config": { "model": "elevenlabs-eleven-v4", "voice": "EXAVITQu4vr4xnSDxMaL", "prompt": "Meet the mug that keeps your coffee warm all morning." },
  "confirm_above_credits": 20,
  "idempotency_key": "workflows-1"
} }
```

Then the user's mascot photo, stored with `upload_asset`, is made to speak the audio from the first result:

```json
{ "tool": "generate_lipsync", "arguments": {
  "config": { "model": "veed-fabric-1.0-fast", "resolution": "720p" },
  "inputs": { "input_image": { "kind": "image", "assetId": "<photo asset_id>" }, "input_audio": { "kind": "audio", "assetId": "<voiceover asset_id>" } },
  "confirm_above_credits": 150,
  "idempotency_key": "workflows-2",
  "wait_ms": 110000
} }
```

Then `add_video_subtitles` on the resulting video, if the user wants captions.

## The user's files

```json
{ "tool": "upload_asset", "arguments": { "url": "https://orisu.ai/review-assets/ceramic-mug.jpg" } }
```

- Store a file with `upload_asset({ url })`, or `upload_asset({ data_url })` for a small one. Use a URL for video.
- Find files already in the library with `search({ kind: "asset", query })` or `list_assets`.
- Show images and audio inline with `preview_asset` (up to 8 asset ids). Video comes back as a link.
- Use `delete_asset` only when the user asks to remove a file. It moves it to trash.

## Cost and waiting

Give every paid call its own `idempotency_key`, unique to that request (for example `mug-packshot-1`). Send the same key again only to resend a call that was interrupted or whose result you never saw, such as after a permission or file-download prompt; the first result then comes back instead of a second charge. Before re-running anything, check `list_runs` or `get_run` for a result that already finished. To redo something on purpose (a failed run, an image that missed, changed settings), use a new key: the old one would replay the same result, failure included.

- Pass `confirm_above_credits` on every model call (about 40 for an image, more for video). Above it, nothing is created or charged and the call returns `COST_CONFIRMATION_REQUIRED` with the estimate: show it, and call again with a higher limit only after the user agrees.
- `max_credits` caps what one run may spend.
- A result with `timed_out: true` is still running: call `wait_for_run({ run_id })` (each wait lasts up to about 110 seconds; video can need several).
- If one step of a chain fails, rerun only that step with the last good asset id.

## Saved workflows and apps

The user may already have workflows and apps in Orisu.

- Find them with `search({ kind: "agent", query })` or `search({ kind: "app", query })`.
- An app: `get_app` or `get_run_inputs_schema({ app_id })` shows its inputs; `trigger_app({ app_id, inputs })` starts a new run; then `wait_for_run`.
- A workflow: `get_run_inputs_schema({ agent_id })`, then `trigger_run({ agent_id, inputs })` and `wait_for_run`. A workflow keeps one working run, so this overwrites its previous outputs and bills every step again; show earlier results first if the user still needs them.
- Only workflows made of the steps in the table above can run here. If one is refused, tell the user to open it in Orisu.
- History: `list_runs`, `get_run`; stop a run with `cancel_run` when the user asks (finished steps are not refunded).

## Brand knowledge

- Before writing in the brand's voice or styling images, call `get_brand_context` once and follow it.
- Narrow questions (tone for ads, colors, audience): `query_brain`. If it returns nothing, say so; don't invent brand rules.
- When the user states something lasting about their brand ("we never use exclamation marks"), save it with `save_brand_fact` and tell them. It goes to the team's review queue.

## When something fails

- A failed run reports `error`, `error_code` and `failed_node_id`. Fix the input or setting it names and run that step again.
- A model option the model doesn't accept is rejected before anything is spent, with the accepted values. Pick one of those.
- Call `who_am_i` if you need to confirm the connected workspace or its permissions.

SHA-256: 45eb85b0bcee752a586e6a781e61ea19191624fb0fcf434f2d2f62250471c877