ottoport 1.3.1 → 1.3.2
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/.claude-plugin/plugin.json +1 -1
- package/README.md +62 -28
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ottoport",
|
|
3
3
|
"description": "One API for every model. Call chat, image, video, speech and music models through the OttoPort gateway — as MCP tools, slash commands, or the bundled CLI.",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "LITBOX LLC",
|
|
7
7
|
"email": "support@ottoport.ai"
|
package/README.md
CHANGED
|
@@ -1,28 +1,52 @@
|
|
|
1
|
-
# OttoPort
|
|
1
|
+
# OttoPort
|
|
2
2
|
|
|
3
|
-
One API for every model. This
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
One API for every model. This package is three things over the same gateway:
|
|
4
|
+
a **CLI**, an **MCP server**, and a **Claude Code plugin** — chat, image,
|
|
5
|
+
video, speech, and music, on one key and one prepaid balance.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Get a key at <https://ottoport.ai/api-keys> (they look like `op-…`), then pick
|
|
8
|
+
whichever surface fits.
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
/plugin marketplace add https://ottoport.ai/plugin/marketplace.json
|
|
11
|
-
/plugin install ottoport@ottoport
|
|
12
|
-
```
|
|
10
|
+
## CLI
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
```bash
|
|
13
|
+
npm install -g ottoport # or run any command below through `npx ottoport …`
|
|
14
|
+
export OTTOPORT_API_KEY=op-...
|
|
15
|
+
```
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ottoport models [--modality chat|image|video|tts|music] [--json]
|
|
19
|
+
|
|
20
|
+
ottoport chat "<prompt>" [--model claude-sonnet-5] [--system "..."] [--no-stream]
|
|
21
|
+
[--temperature 0.7] [--max-tokens 512]
|
|
22
|
+
ottoport image "<prompt>" [--model gpt-image-2] [--size 1024x1024] [--n 1]
|
|
23
|
+
[--image <url>] [--out file.png]
|
|
24
|
+
ottoport video "<prompt>" [--model kling-3.0] [--duration 5]
|
|
25
|
+
[--aspect-ratio 16:9] [--image <url>] [--out clip.mp4]
|
|
26
|
+
ottoport speech "<text>" [--model gpt-4o-mini-tts] [--voice alloy] [--out speech.mp3]
|
|
27
|
+
ottoport music "<prompt>" [--model suno-v5] [--duration 15] [--out song.mp3]
|
|
28
|
+
|
|
29
|
+
ottoport install <host> # wire the MCP server into an agent
|
|
30
|
+
ottoport mcp # run the MCP server on stdio
|
|
20
31
|
```
|
|
21
32
|
|
|
22
|
-
|
|
23
|
-
|
|
33
|
+
Chat streams by default. Image, video and audio commands print the result URL;
|
|
34
|
+
`--out` downloads it. `--url` and `--key` override the environment for a single
|
|
35
|
+
call.
|
|
36
|
+
|
|
37
|
+
Every command is a thin client over the public REST API, so anything the CLI
|
|
38
|
+
does is available to your own code — the gateway is OpenAI-compatible, and any
|
|
39
|
+
OpenAI SDK works by pointing `baseURL` at `https://ottoport.ai/api/v1`.
|
|
40
|
+
|
|
41
|
+
## Claude Code plugin
|
|
24
42
|
|
|
25
|
-
|
|
43
|
+
Brings the MCP server, the `ottoport` skill, and six slash commands in one
|
|
44
|
+
install:
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
/plugin marketplace add https://ottoport.ai/plugin/marketplace.json
|
|
48
|
+
/plugin install ottoport@ottoport
|
|
49
|
+
```
|
|
26
50
|
|
|
27
51
|
| Command | What it does |
|
|
28
52
|
| --- | --- |
|
|
@@ -33,23 +57,33 @@ live.
|
|
|
33
57
|
| `/ottoport:speech` | Read text aloud, or generate music. |
|
|
34
58
|
| `/ottoport:setup` | Diagnose key / gateway / MCP wiring. |
|
|
35
59
|
|
|
36
|
-
##
|
|
37
|
-
|
|
38
|
-
The bundled server exposes `ottoport_list_models`, `ottoport_chat`,
|
|
39
|
-
`ottoport_generate_image`, `ottoport_generate_video`, `ottoport_generate_speech`,
|
|
40
|
-
and `ottoport_generate_music`. Any agent in the session can call them directly —
|
|
41
|
-
the slash commands are just convenient entry points over the same tools.
|
|
42
|
-
|
|
43
|
-
## CLI
|
|
60
|
+
## Other agents
|
|
44
61
|
|
|
45
|
-
|
|
62
|
+
Claude Code is the only host with a plugin format. Everywhere else, one command
|
|
63
|
+
registers the MCP server by writing that agent's own config:
|
|
46
64
|
|
|
47
65
|
```bash
|
|
48
|
-
|
|
49
|
-
ottoport models --modality video
|
|
50
|
-
ottoport image "isometric city at dusk" --out city.png
|
|
66
|
+
npx ottoport install codex # or hermes, cursor, windsurf, claude-desktop, claude
|
|
51
67
|
```
|
|
52
68
|
|
|
69
|
+
Codex also gets the OttoPort skill copied into `~/.codex/skills/`. Your key is
|
|
70
|
+
forwarded from the environment rather than written into any config file.
|
|
71
|
+
|
|
72
|
+
## MCP tools
|
|
73
|
+
|
|
74
|
+
`ottoport_list_models`, `ottoport_chat`, `ottoport_generate_image`,
|
|
75
|
+
`ottoport_generate_video`, `ottoport_generate_speech`, `ottoport_generate_music`.
|
|
76
|
+
The server speaks stdio JSON-RPC and is launched by the host as a subprocess, so
|
|
77
|
+
it needs Node 20+ on the PATH of whatever starts that host.
|
|
78
|
+
|
|
79
|
+
## Configuration
|
|
80
|
+
|
|
81
|
+
- `OTTOPORT_API_KEY` — your `op-…` key. Export it from your shell profile: the
|
|
82
|
+
MCP server reads the environment its host was launched in, so a key exported
|
|
83
|
+
inside a running session arrives too late.
|
|
84
|
+
- `OTTOPORT_BASE_URL` — defaults to `https://ottoport.ai`; set it only to point
|
|
85
|
+
at another deployment.
|
|
86
|
+
|
|
53
87
|
## Notes
|
|
54
88
|
|
|
55
89
|
- Image, video, and audio calls return **URLs**, and provider URLs expire.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ottoport",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Claude Code plugin, CLI and MCP server for OttoPort — one OpenAI-compatible API for every LLM, image, video, and speech model.",
|
|
5
5
|
"homepage": "https://ottoport.ai",
|
|
6
6
|
"license": "MIT",
|