Skip to content

The open source AI video agent: turns any coding agent into a video agent, with an editor to change anything it makes.

Providers: Google and Microsoft Azure, named for their makers (#136)

riverisbuilding711e994b91f0
diff --git a/.changeset/provider-maker-names.md b/.changeset/provider-maker-names.md
new file mode 100644
index 0000000..a342e8b
--- /dev/null
+++ b/.changeset/provider-maker-names.md
@@ -0,0 +1,5 @@
+---
+"openfilm": patch
+---
+
+Providers are named for their makers: Google Gemini is now Google, and Azure Speech is Microsoft Azure, in Settings, in the key dialog, and in what `openfilm get` says.
diff --git a/packages/openfilm/studio/server/get.test.mjs b/packages/openfilm/studio/server/get.test.mjs
index 0292a66..cdb909f 100644
--- a/packages/openfilm/studio/server/get.test.mjs
+++ b/packages/openfilm/studio/server/get.test.mjs
@@ -405,7 +405,7 @@ test('openfilm get: what can be got here, connected, partly or not at all; wrong
assert.equal(nothing.stdout, 'Nothing is connected for media here: each kind works only once the person connects a service that makes it (below). '
+ 'Until then, make sound and pictures in code, or use a service the person has a key for (with its API docs), and save them under assets/. '
+ `\`openfilm get <what> --help\` shows what one kind takes (${media.join(', ')}).\n\n${services()}\n`);
- assert.match(services(), /^Media services, each used with the person's own key: Azure Speech \(voice-over\), Brave Search \(web search\), Doubao \(transcripts\), ElevenLabs \(voice-over, sound effects, music, transcripts\), fal\.ai \(images, video, music, sound effects\), .*, Tavily \(web search\)\. In Studio, the OpenFilm logo at the top left opens Settings/);
+ assert.match(services(), /^Media services, each used with the person's own key: Brave Search \(web search\), Doubao \(transcripts\), ElevenLabs \(voice-over, sound effects, music, transcripts\), fal\.ai \(images, video, music, sound effects\), .*, Microsoft Azure \(voice-over\), .*, Tavily \(web search\)\. In Studio, the OpenFilm logo at the top left opens Settings/);
/* partly: what is connected, then one line for the rest with the services that make each, then the services there
are; never who makes what is connected */
@@ -421,7 +421,7 @@ test('openfilm get: what can be got here, connected, partly or not at all; wrong
`Not connected here: ${unconnected('image')}. ${CONNECT_ONE}`].join('\n')}\n`);
const unavailable = get(root, 'image', '--out', 'hero', '--prompt', 'a key');
assert.equal(unavailable.status, 1);
- assert.match(unavailable.stdout, /^Not connected here: image \(fal\.ai, Google Gemini or OpenAI\)\. .*with the person's own key/);
+ assert.match(unavailable.stdout, /^Not connected here: image \(fal\.ai, Google or OpenAI\)\. .*with the person's own key/);
assert.equal(unavailable.stdout, `Not connected here: ${unconnected('image')}. ${CONNECT_ONE} Tell the person. `
+ 'Until then, make it in code, or use a service the person has a key for (with its API docs), and save it under assets/.\n');
diff --git a/packages/openfilm/studio/server/providers/azure.mjs b/packages/openfilm/studio/server/providers/azure.mjs
index b9865c9..677e25a 100644
--- a/packages/openfilm/studio/server/providers/azure.mjs
+++ b/packages/openfilm/studio/server/providers/azure.mjs
@@ -1,6 +1,6 @@
// @ts-check
/**
- * Azure Speech with the person's own key: voice-over from the neural voices of Azure AI Speech
+ * Microsoft Azure with the person's own key: voice-over from the neural voices of Azure AI Speech
* (https://learn.microsoft.com/azure/ai-services/speech-service/rest-text-to-speech), as WAV, with no word timings: a
* voice-over's words are left to Studio to spread over the line.
*
@@ -12,7 +12,7 @@ import { billedBy, call, clamp, landing, needed, notes, number, serviceUrl, text
/** @typedef {import('./contract.mjs').Provider} Provider */
-const NAME = 'Azure Speech';
+const NAME = 'Microsoft Azure';
/** WAV straight from the service: its length is read from the file itself. */
const FORMAT = 'riff-24khz-16bit-mono-pcm';
diff --git a/packages/openfilm/studio/server/providers/azure.test.mjs b/packages/openfilm/studio/server/providers/azure.test.mjs
index 8832f4e..f862c1a 100644
--- a/packages/openfilm/studio/server/providers/azure.test.mjs
+++ b/packages/openfilm/studio/server/providers/azure.test.mjs
@@ -48,7 +48,7 @@ test('voice-over: SSML in the voice\'s locale, as WAV, its length from the file;
assert.equal(result.index[0].dur, 1);
assert.equal(result.index[0].words, undefined);
assert.match(result.receipt.notes[0], /no word timings/);
- assert.equal(result.cost.note, 'billed by Azure Speech to your key');
+ assert.equal(result.cost.note, 'billed by Microsoft Azure to your key');
});
test('a key without a region is refused before anything is sent, unless AZURE_SPEECH_REGION says it', async () => {
diff --git a/packages/openfilm/studio/server/providers/google.mjs b/packages/openfilm/studio/server/providers/google.mjs
index 1bba980..d5806fd 100644
--- a/packages/openfilm/studio/server/providers/google.mjs
+++ b/packages/openfilm/studio/server/providers/google.mjs
@@ -9,7 +9,7 @@ import { RATIO_SIZE, billedBy, call, clamp, download, extOf, imageSize, landing,
/** @typedef {import('./contract.mjs').Provider} Provider @typedef {import('./contract.mjs').RunContext} RunContext */
-const NAME = 'Google Gemini';
+const NAME = 'Google';
/** the models it makes each kind of media with, the default first (https://ai.google.dev/gemini-api/docs/models) */
const MODELS = {
tts: [{ id: 'gemini-3.8-flash-tts', name: 'Gemini 3.8 Flash TTS' }, { id: 'gemini-3.8-flash-lite-tts', name: 'Gemini 3.8 Flash-Lite TTS' }],
diff --git a/packages/openfilm/studio/server/providers/index.mjs b/packages/openfilm/studio/server/providers/index.mjs
index 5707422..032ddb4 100644
--- a/packages/openfilm/studio/server/providers/index.mjs
+++ b/packages/openfilm/studio/server/providers/index.mjs
@@ -2,7 +2,7 @@
/**
* Which provider serves each verb of `openfilm get`, and the API of Studio's Settings → Providers and Models.
*
- * A person's own key for ElevenLabs, OpenAI, Google (the Gemini API), fal.ai, Groq, Azure Speech, Pexels, Pixabay,
+ * A person's own key for ElevenLabs, OpenAI, Google (the Gemini API), fal.ai, Groq, Microsoft Azure (Azure AI Speech), Pexels, Pixabay,
* Brave Search or Tavily pays that service directly for what it can do. Each makes a kind of media with the model the person chose for
* it (the provider's first unless they did).
* Who serves a verb: `--via <provider>` on the command, else the person's choice for that kind of media in Settings (`use`),
diff --git a/packages/openfilm/studio/ui/src/components/settings/ProvidersSection.tsx b/packages/openfilm/studio/ui/src/components/settings/ProvidersSection.tsx
index 77d2ea1..76b2265 100644
--- a/packages/openfilm/studio/ui/src/components/settings/ProvidersSection.tsx
+++ b/packages/openfilm/studio/ui/src/components/settings/ProvidersSection.tsx
@@ -3,7 +3,7 @@
* web searches from. The recommended ones first (lib/providers RECOMMENDED_PROVIDERS), the rest under More, folded
* until opened (open from the start when one of them is connected).
*
- * ElevenLabs, OpenAI, Google Gemini, fal.ai, Groq, Pexels, Pixabay, Brave Search and Tavily connect with the person's
+ * ElevenLabs, OpenAI, Google, Microsoft Azure, fal.ai, Groq, Pexels, Pixabay, Brave Search and Tavily connect with the person's
* own key, which pays that service directly when it charges (a key in the environment shows as such and stays there).
* Which of them makes each kind of media, and with which model, is Settings → Services, with the person's own custom
* services (CustomServices).
diff --git a/packages/openfilm/studio/ui/src/lib/providers.test.ts b/packages/openfilm/studio/ui/src/lib/providers.test.ts
index be641ca..f38c51a 100644
--- a/packages/openfilm/studio/ui/src/lib/providers.test.ts
+++ b/packages/openfilm/studio/ui/src/lib/providers.test.ts
@@ -23,7 +23,7 @@ test('a kind is offered when any provider makes it, connected or not', () => {
test('Providers lists the recommended ones first, in their order, and the rest under More by name, open when one is connected', () => {
const p = (id: string, name: string, source: 'file' | 'env' | null = null) => ({ id, name, source });
- const all = [p('pexels', 'Pexels'), p('elevenlabs', 'ElevenLabs'), p('azure', 'Azure Speech'), p('brave', 'Brave Search'), p('openai', 'OpenAI'), p('google', 'Google Gemini')];
+ const all = [p('pexels', 'Pexels'), p('elevenlabs', 'ElevenLabs'), p('azure', 'Microsoft Azure'), p('brave', 'Brave Search'), p('openai', 'OpenAI'), p('google', 'Google')];
const groups = providerGroups(all);
assert.deepEqual(groups.recommended.map((x) => x.id), ['openai', 'azure', 'google', 'elevenlabs']);
assert.deepEqual(groups.more.map((x) => x.id), ['brave', 'pexels']);