Deploy Wiro AI Next.js Starter

Run 1,000+ Wiro AI models in Next.js: playground, image, video, audio, chat

Deploy Wiro AI Next.js Starter

Wiro-Next-Starter

wiroai/Wiro-Next-Starter

Just deployed

Deploy and Host Wiro AI Next.js Starter on Railway

Wiro AI Next.js Starter is an open-source Next.js app for the Wiro AI API: a Playground for any of the 1,000+ models, image, video and audio tools, a streaming LLM chat built with the Vercel AI SDK, and a history of your runs. Route handlers make every call to Wiro AI, so the API key stays on the server.

About Hosting Wiro AI Next.js Starter

The app is a standard Next.js 16 server. Railway builds it with Railpack, which runs npm install and npm run build, then starts it with npm run start on the port Railway assigns. The server needs one variable, WIRO_API_KEY, and makes outbound HTTPS calls to api.wiro.ai and llm.wiro.ai. It keeps no database and no files: generated images and videos are served from the Wiro AI CDN.

Common Use Cases

  • A starting point for a product that generates or edits images, video, speech or music
  • An internal tool for trying models side by side, with the price of each run shown before it starts
  • Reference code for the Wiro AI catalog, the Run API, file uploads and the Wiro LLM gateway in Next.js route handlers

Dependencies for Wiro AI Next.js Starter Hosting

Deployment Dependencies

Implementation Details

  • Playground: browse the catalog by category or search it, and run any model with a form built from its inputs.
  • Image: generate, edit with a prompt, upscale and remove backgrounds. Video: text and image to video with each stage of the task shown. Audio: speech with the model's voices, music and transcription.
  • Chat with every model on the Wiro LLM gateway, with the cost of each reply. History keeps runs in the browser.
  • The server checks each run against the model's inputs and hides uncensored, NSFW and live models.
  • Set BASIC_AUTH_PASSWORD to put the app behind a password, and MAX_RUN_PRICE to cap the price of one run.

Each run is billed to your Wiro AI account at the model's price.

Why Deploy Wiro AI Next.js Starter on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Wiro AI Next.js Starter on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

Wiro-Next-Starter

wiroai/Wiro-Next-Starter

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

bento
1