Skip to main content

Overview

The backend enables developers to implement custom server logic, API endpoints, and database operations within their Rork applications.

Capabilities

  • API Endpoints — Define custom routes for client-server communication
  • Server-Side Logic — Execute secure operations outside the client application
  • Database Integration — Persistent data storage and retrieval
  • Protected Routes — Authentication and authorization support

Technical Stack

ComponentTechnology
Server FrameworkHono
API LayertRPC

When to Use

A backend is recommended for:
  • Social applications with user-to-user interactions
  • Multiplayer or real-time collaborative features
  • Applications requiring shared or centralized data storage
A backend is not required for:
  • Single-user applications
  • Local data storage use cases
  • Applications utilizing only built-in AI features

AI Capabilities

To add AI capabilities to your application, use the Rork Toolkit. The Toolkit provides pre-built AI features including text generation, image creation, voice-to-text, and intelligent assistants—no backend configuration required.

What’s inside the Rork Toolkit?

FeatureModelProvider
AI Assistant (Chat/Agent)Claude Sonnet 4.5Anthropic
Text GenerationGPT-5 ChatOpenAI
Data Extraction (generateObject)GPT-4.1OpenAI
Image GenerationGPT-Image-1.5 (DALL-E)OpenAI
Image EditingGemini 2.5 Flash ImageGoogle
Voice to TextWhisper-1OpenAI
Tool Result SummarizationGemini 2.5 FlashGoogle
The models are accessed through these toolkit SDK functions:
  • Uses Anthropic Claude Sonnet 4.5 for chat and agentic workflows
  • Uses OpenAI GPT-5 for text generation
  • Uses OpenAI GPT-4.1 for structured data extraction
  • Image generation uses OpenAI DALL-E
  • Image editing uses Gemini 2.5 Flash Image
  • Speech-to-text uses OpenAI Whisper-1
What you can build with the Rork Toolkit The Rork Toolkit lets you build full AI-powered apps—chat agents, content generators, data extractors, image and voice features, and multimodal workflows—all from one toolkit. It’s everything you need to create smart, production-ready AI experiences without managing multiple models or providers.