Model Context Protocol
Connect Claude to Lychhee's generation engine via MCP. Generate images, videos, and audio directly from any conversation — billed to your Lychhee credits.
MCP Server URL
https://crexel-backend.onrender.com/mcpNo local install required — paste this URL into your MCP client.
Connect in three steps.
Create an API key
Go to Settings → Developer and create a key with generate scope. Copy the ck_live_… value — shown once.
Connect your client
claude mcp add --transport http lychhee https://crexel-backend.onrender.com/mcp --header "Authorization: Bearer ck_live_…"
Ask Claude to generate
Once connected, try: "Generate a cinematic image of a cyberpunk city at night" or "What video models are available?"
8 tools available. Click any tool to expand its parameters and examples.
Real conversations showing how Claude uses Lychhee tools.
Generate a cinematic image
cinema_prompt({ subject: "samurai in bamboo forest", palette: "warm amber tones", genre: "cinematic" })generate_image({ prompt: "…", width: 1280, height: 720 })Create a short video clip
list_models({ category: "video" })generate_video({ prompt: "ocean waves crashing at golden sunset, cinematic", model: "fal-ai/kling-video/v2.1/pro/text-to-video", duration: "5", aspectRatio: "16:9" })Generate a voiceover
list_models({ category: "voice" })generate_audio({ type: "voice", model: "fal-ai/playai-tts", text: "Welcome to Lychhee, your AI creative studio" })For non-MCP integrations. All endpoints are under https://crexel-backend.onrender.com/v1.
Authenticate with Authorization: Bearer ck_live_… or X-API-Key: ck_live_…. Mint a key in Settings → Developer.
| Method | Path | Description | Credits |
|---|---|---|---|
| POST | /image | Generate an image (async, returns jobId) | yes |
| POST | /video | Generate a video (async, returns jobId) | yes |
| POST | /audio | Generate voice or music (async, returns jobId) | yes |
| POST | /upscale-image | Upscale an image 2× or 4× (synchronous) | yes |
| POST | /upscale-video | Upscale a video to 1080p/4K (async) | yes |
| POST | /chat | AI assistant for creative guidance (synchronous) | yes |
| GET | /models | List all available models with pricing | free |
| GET | /jobs/:id | Get status and result URL for a job | free |
| GET | /openapi.json | OpenAPI 3.1 machine-readable spec | free |
Example: generate an image
curl -X POST https://crexel-backend.onrender.com/v1/image \
-H "Authorization: Bearer ck_live_…" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A cinematic sunset over the ocean",
"width": 1280,
"height": 720
}'
# Response (202 Accepted):
# { "jobId": "abc-123", "status": "queued", "creditsUsed": 5 }
# Poll for result:
curl https://crexel-backend.onrender.com/v1/jobs/abc-123 \
-H "Authorization: Bearer ck_live_…"See the live OpenAPI spec →