Developers and integrations
Build on FOTOhub: the developer console, API keys, a quickstart, the image, video, audio and vision APIs, webhooks and error handling, the TypeScript and Python SDKs, the command line, the MCP server for AI assistants, and the integrations hub for shops, clouds and automations.
Guides in this series
- Public API quickstart: your first request (Beginner, 12 min): Go from an empty account to a generated image with curl, TypeScript or Python, and learn the two response shapes every endpoint uses.
- The developer console: a tour of every tab (Beginner, 14 min): Know where to find keys, models, limits, spend, jobs and logs, and use the console to watch and debug your integration.
- API keys: create, scope and manage (Beginner, 12 min): Create a key, choose its type, scopes, limits and output location, then rotate or revoke it without breaking your integration.
- Errors, rate limits and safe retries (Intermediate, 13 min): Read every error shape the API returns, understand the rate limits and tiers, and retry without ever paying twice.
- Webhooks: get events pushed to your server (Intermediate, 13 min): Register an HTTPS endpoint, choose the events you want, verify the signature and handle retries, so you stop polling for results.
- Image API: generate, edit and cut out (Intermediate, 16 min): Generate images with synchronous and asynchronous models, edit them with instructions, and run background removal and replacement, with real requests, responses and polling.
- Video API: generate, poll and post-produce (Intermediate, 15 min): Submit a video job, poll it to completion, handle models that are down, and finish clips with speed, transcode, watermark, effects and lip-sync.
- Audio API: speech, sound effects, transcription and music (Intermediate, 12 min): Turn text into speech, make sound effects, transcribe recordings and understand how each audio endpoint is billed and what to do when a model is unavailable.
- Vision API: analyse, segment, read text and track (Intermediate, 13 min): Describe images, cut objects out with text or clicks, read text, estimate depth, upscale and follow objects through video, with the exact request and response shapes.
- TypeScript SDK: complete guide (Intermediate, 14 min): Install fotohub from npm, call images, video, audio and billing from Node, Deno or Bun, and handle typed errors and retries.
- Python SDK: complete guide (Intermediate, 14 min): Install fotohub, call every part of the API from sync or async Python, handle typed errors and retry safely.
- FOTOhub CLI: the API from your terminal (Beginner, 10 min): Install the fotohub command, sign in once, and generate images, video and speech, browse models, check your wallet and connect MCP from the command line or a script.
- Buckets (S3): S3-compatible storage in the console (Intermediate, 14 min): Create a dedicated bucket, read its 16 tabs, connect with the S3 API using the bucket's own access keys, and route API output into it.
- FOTOhub MCP server: use FOTOhub from your AI assistant (Intermediate, 14 min): Connect FOTOhub to an AI assistant or editor over MCP with an API key or a sign-in, see the 73 tools it exposes, and keep spending under control.
- Integrations hub: connect apps, shops and automations (Beginner, 16 min): Connect cloud storage, shops, chats and social accounts, set up automations and backups, and wire FOTOhub to Zapier, Make, webhooks and MCP servers.