Guide on how to use Nano Banana aka Gemini 2.5 Flash Image in JavaScript with the Google GenAI JS/TS SDK.
A detailed blog post can be found on TBD.
More resources:
- Get an API key from Google AI Studio.
- Nano Banana Gemini API docs
Guide on how to use Nano Banana aka Gemini 2.5 Flash Image in JavaScript with the Google GenAI JS/TS SDK.
A detailed blog post can be found on TBD.
More resources:
Guide on how to use Nano Banana aka Gemini 2.5 Flash Image in Python with the Google GenAI SDK.
A detailed blog post can be found on TBD.
More resources:
import { google } from "@ai-sdk/google"; | |
import { z } from "zod"; | |
import { generateText, generateObject } from "ai"; | |
import "dotenv/config"; | |
import puppeteer from "puppeteer"; | |
import { ChartConfiguration } from "chart.js"; | |
function createChartConfig({labels, data, label, type, colors,}: { | |
labels: string[]; | |
data: number[]; |
Title | Description |
---|---|
Market Research Agent with Gemini and the Vercel AI SDK |
Building apps with Gemini and the Vercel AI SDK |
The Vercel AI SDK is a powerful open-source library for building AI-powered applications, user interfaces, and agents in TypeScript.
Gemini models are accessible using the AI SDK by Vercel. This guide will help you get started with the AI SDK and Gemini.
For more information, see the following resources:
import { RealtimeTranscriber, RealtimeTranscript } from 'assemblyai'; | |
import { getAssemblyToken } from './getAssemblyToken'; | |
export async function createTranscriber( | |
transcriptionProcessed: (transcription: string, isFinal: boolean) => void | |
): Promise<RealtimeTranscriber | undefined> { | |
const token = await getAssemblyToken(); | |
if (!token) { | |
console.error('No token found'); |
import assemblyai as aai | |
aai.settings.api_key = "API_KEY" | |
audio_url = "https://github.com/AssemblyAI-Examples/audio-examples/raw/main/20230607_me_canadian_wildfires.mp3" | |
config = aai.TranscriptionConfig().set_redact_pii( | |
policies=[ | |
aai.PIIRedactionPolicy.person_name, | |
aai.PIIRedactionPolicy.organization, |
Learn everything about using AI for speech understanding with Python.
I'll show you how to perform the following tasks on a podcast episode:
npm init
npm install --save-dev typescript
npx tsc --init
npm install -S langchain
npm install -S dotenv
npm i --save-dev @types/node