Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrgl authored Dec 12, 2024
1 parent 4058bea commit ca7076a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ fs.writeFileSync("sonic.wav", new Uint8Array(response));

```js
import { CartesiaClient } from "@cartesia/cartesia-js";
import process from "node:process"

const cartesia = new CartesiaClient({
apiKey: "your-api-key",
apiKey: process.env.CARTESIA_API_KEY,
});

// Initialize the WebSocket. Make sure the output format you specify is supported.
Expand Down

0 comments on commit ca7076a

Please sign in to comment.