Claude Claude Opus 4.8 commited on
Commit
327be13
Β·
1 Parent(s): b3c77b3

Clarify API-key field accepts Parley keys

Browse files

The key input already accepts either an Anthropic (sk-ant-…) or MIT
Parley (sk-parley-…) key β€” routing is by prefix, and the only client
check is non-empty. The placeholder said "sk-ant-…", making it look
Anthropic-only. Update the label and placeholder on both the video and
images pages, and note the Parley auto-routing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EM8jiYxdVFy1w3LeJ9GBJg

app/templates/images.html CHANGED
@@ -95,9 +95,9 @@
95
  </div>
96
 
97
  <div class="field">
98
- <label for="anthropic_api_key">Anthropic API key <small>β€” enables the AI features below</small></label>
99
- <input type="password" id="anthropic_api_key" name="anthropic_api_key" autocomplete="off" placeholder="sk-ant-…">
100
- <p class="hint">Optional. Used only for this run, never stored. Without it the guide is built from the images + transcript alone.</p>
101
  </div>
102
  </div>
103
 
 
95
  </div>
96
 
97
  <div class="field">
98
+ <label for="anthropic_api_key">Anthropic or MIT Parley API key <small>β€” enables the AI features below</small></label>
99
+ <input type="password" id="anthropic_api_key" name="anthropic_api_key" autocomplete="off" placeholder="sk-ant-… or sk-parley-…">
100
+ <p class="hint">Optional. Used only for this run, never stored. A Parley key (<code>sk-parley-…</code>) is routed to MIT Parley automatically. Without a key the guide is built from the images + transcript alone.</p>
101
  </div>
102
  </div>
103
 
app/templates/index.html CHANGED
@@ -939,10 +939,10 @@
939
  </div>
940
 
941
  <div class="vgm-field">
942
- <label for="anthropic_api_key">Anthropic API key <span class="vgm-field__optional">β€” enables AI features</span></label>
943
  <input type="password" id="anthropic_api_key" name="anthropic_api_key"
944
  autocomplete="off" spellcheck="false"
945
- placeholder="sk-ant-…">
946
  <small>πŸ”’ Used once for this run β€” sent over HTTPS, held in memory only, never written to disk or logs.</small>
947
  </div>
948
 
 
939
  </div>
940
 
941
  <div class="vgm-field">
942
+ <label for="anthropic_api_key">Anthropic or MIT Parley API key <span class="vgm-field__optional">β€” enables AI features</span></label>
943
  <input type="password" id="anthropic_api_key" name="anthropic_api_key"
944
  autocomplete="off" spellcheck="false"
945
+ placeholder="sk-ant-… or sk-parley-…">
946
  <small>πŸ”’ Used once for this run β€” sent over HTTPS, held in memory only, never written to disk or logs.</small>
947
  </div>
948