Demo App

Chutes+Vercel AI SDK

Interactive showcase of high-performance, serverless AI capabilities. Powered by Chutes.ai infrastructure.

Get Started

Connect to Chutes to unlock all the demo tiles below

Sign in with Chutes

Quick and secure OAuth login. No API key needed.

Recommended
Checking session...

LLM & Chat

Basic Chat

From basic-chat.ts

Hot- Ready instantly

Try an example:

Sign in with Chutes or add an API key above to use chat.
Send a message to start chatting...
import { createChutes } from '@chutes-ai/ai-sdk-provider';
import { generateText } from 'ai';
...

Click to expand (12 lines)

Tool Calling

From tool-calling.ts - Ask about weather!

Hot- Ready instantly

Try asking about weather:

Sign in with Chutes or add an API key above to use tool calling.
import { createChutes } from '@chutes-ai/ai-sdk-provider';
import { generateText } from 'ai';
import { z } from 'zod';...

Click to expand (30 lines)

Image & Video

Drag images to Video tile →

Image Generation

From image-generation.ts

Hot- Ready instantly
Sign in with Chutes or add an API key above to run image generation.
import { createChutes } from '@chutes-ai/ai-sdk-provider';

const chutes = createChutes({ apiKey: process.env.CHUTES_API_KEY });...

Click to expand (12 lines)

Image → Video

I2V
Hot
Sign in with Chutes or add an API key above to run image-to-video.
// Image-to-Video generation with Wan 2.2
const response = await fetch('https://chutes-wan-2-2-i2v-14b-fast.chutes.ai/generate', {
  method: 'POST',...

Click to expand (15 lines)

Discovery & Embeddings

List Models

From list-models.ts

Sign in with Chutes or add an API key above to list models.
Click "Fetch Models" to list available models using chutes.listModels()
import { createChutes } from '@chutes-ai/ai-sdk-provider';

const chutes = createChutes({ apiKey: process.env.CHUTES_API_KEY });...

Click to expand (16 lines)

Embeddings

From embeddings.ts

Hot
Sign in with Chutes or add an API key above to generate embeddings.
import { createChutes } from '@chutes-ai/ai-sdk-provider';

const chutes = createChutes({ apiKey: process.env.CHUTES_API_KEY });...

Click to expand (11 lines)

Audio & Music

Drag audio from TTS to STT →

Text to Speech

Beta
Hot
Sign in with Chutes or add an API key above to run text-to-speech.
import { createChutes } from '@chutes-ai/ai-sdk-provider';

const chutes = createChutes({ apiKey: process.env.CHUTES_API_KEY });...

Click to expand (14 lines)

Speech to Text

Beta
Hot
Sign in with Chutes or add an API key above to run speech-to-text.
import { createChutes } from '@chutes-ai/ai-sdk-provider';

const chutes = createChutes({ apiKey: process.env.CHUTES_API_KEY });...

Click to expand (10 lines)

Music Generation

Beta
Hot
Sign in with Chutes or add an API key above to run music generation.
import { createChutes } from '@chutes-ai/ai-sdk-provider';

// Initialize provider for auth...

Click to expand (23 lines)

Safety & Custom

Content Moderation

From content-moderation.ts

Cold
Sign in with Chutes or add an API key above to run content moderation.
import { createChutes } from '@chutes-ai/ai-sdk-provider';

const chutes = createChutes({ apiKey: process.env.CHUTES_API_KEY });...

Click to expand (17 lines)

Custom Inference

From custom-inference.ts

Sign in with Chutes or add an API key above to run custom inference.
import { createChutes } from '@chutes-ai/ai-sdk-provider';

const chutes = createChutes({ apiKey: process.env.CHUTES_API_KEY });...

Click to expand (18 lines)

Chute WarmupComing Soon

Therm - Pre-warm chutes for instant response

Therm (named after thermals that gliders use) pre-warms chutes to eliminate cold start latency.

Hot
Ready instantly
Warming
Spinning up
Cold
Needs warmup
Key Features:
  • warmup() - One-shot warmup request
  • monitor() - Non-blocking status polling
  • waitUntilHot() - Async wait with timeout
  • onStatusChange() - Subscribe to updates

Interactive demo coming soon. Check the code snippet below to start using Therm in your projects!

import { createChutes, warmUpChute } from '@chutes-ai/ai-sdk-provider';

const chutes = createChutes({ apiKey: process.env.CHUTES_API_KEY });...

Click to expand (29 lines)