diff --git a/static/index.html b/static/index.html index 26dae4d..fa8ee3f 100644 --- a/static/index.html +++ b/static/index.html @@ -51,11 +51,15 @@ .sk-icon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; } .sk-title { display: flex; flex-direction: column; gap: 7px; } .sk-toolbar { display: flex; gap: 10px; align-items: center; } - .sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; } - .sk-card { border-radius: 10px; overflow: hidden; } - .sk-card-img { height: 56px; border-radius: 0; } - .sk-card-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; } - .sk-row { display: flex; gap: 10px; margin-top: 4px; } + .sk-row { display: flex; gap: 10px; align-items: center; } + .sk-workbench { display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1px solid var(--border,#e5e7eb); border-radius: 10px; overflow: hidden; min-height: 480px; } + .sk-list { border-right: 1px solid var(--border,#e5e7eb); display: flex; flex-direction: column; } + .sk-list-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border,#e5e7eb); } + .sk-avatar { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; } + .sk-list-body { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; } + .sk-insp { padding: 20px; display: flex; flex-direction: column; gap: 16px; } + .sk-insp-head { display: flex; flex-direction: column; gap: 8px; } + @media (max-width: 700px) { .sk-workbench { grid-template-columns: 1fr; } .sk-insp { display: none; } }
@@ -74,6 +78,15 @@Replace the name (Sam / Alex / Marco …) with your own name before recording.
Expose voice tools to Claude Code, Cursor, and other MCP-aware agents via Streamable HTTP (JSON-RPC 2.0). Tools: speak, transcribe, list_captures, list_profiles.
http://localhost:7890/mcp
+ claude mcp add voice-creator --transport http --url http://localhost:7890/mcp --header "X-Voice-Creator-Client-Id: claude-code"
+ {"mcpServers":{"voice-creator":{"url":"http://localhost:7890/mcp","headers":{"X-Voice-Creator-Client-Id":"my-agent"}}}}
+ Generate audio from any app or script without routing rules.
+curl -X POST http://localhost:7890/speak \
+ -H "Content-Type: application/json" \
+ -H "X-Voice-Creator-Client-Id: my-script" \
+ -d '{"text":"Hello world","voice":"EN_F_Anna"}' \
+ --output speech.wav
+ curl -X PUT http://localhost:7890/speak/bindings/my-script \
+ -H "Content-Type: application/json" \
+ -d '{"voice":"EN_F_Anna"}'
+ Push-to-talk transcription that types the result into any focused window on the host machine.
+pip install pynput sounddevice soundfile pyperclip requests +python hotkey_daemon.py --server http://localhost:7890+ Hold Ctrl+Shift+Space to record, release to transcribe and type. Linux: install
xdotool for direct key injection.
+ The editor creates and manages the voice files. External apps should connect to the Creator proxy or a reachable TTS backend, then use one of the active voice names.
diff --git a/static/sections/s-settings.html b/static/sections/s-settings.html index fee34a0..540299d 100644 --- a/static/sections/s-settings.html +++ b/static/sections/s-settings.html @@ -523,68 +523,12 @@ MDI v7.4.47MCP server, REST /speak endpoint, and global hotkey daemon are documented under Connect Apps.
http://localhost:7890/mcp
- Streamable HTTP (JSON-RPC 2.0). Tools: speak, transcribe, list_captures, list_profiles.
- claude mcp add voice-creator --transport http --url http://localhost:7890/mcp --header "X-Voice-Creator-Client-Id: claude-code"
- {"mcpServers":{"voice-creator":{"url":"http://localhost:7890/mcp","headers":{"X-Voice-Creator-Client-Id":"my-agent"}}}}
- curl -X POST http://localhost:7890/speak \
- -H "Content-Type: application/json" \
- -H "X-Voice-Creator-Client-Id: my-script" \
- -d '{"text":"Hello world","voice":"EN_F_Anna"}' \
- --output speech.wav
- curl -X PUT http://localhost:7890/speak/bindings/my-script \
- -H "Content-Type: application/json" \
- -d '{"voice":"EN_F_Anna"}'
- pip install pynput sounddevice soundfile pyperclip requests -python hotkey_daemon.py --server http://localhost:7890- Hold Ctrl+Shift+Space to record, release to transcribe and type. Linux: install
xdotool for direct key injection.
-