# selfielabstudio.com — AI Character Image & Video Generator ## About SelfieLab is an AI-powered platform for creating consistent, photorealistic images and videos. Users and **agents** can generate character images, selfies, portraits, and video clips, then edit, caption, stitch, and trim media. ## For agents (CLI / API) External agents can perform the **same core creative loop as the studio canvas agent**: - create_image, create_image_batch, edit_image - remove_background, overlay_text - create_video, edit_video, stitch_videos, trim_video, mute_video - write_shot_prompt ### Agent entry points - Developers hub: https://selfielabstudio.com/developers - Agent overview: https://selfielabstudio.com/developers/mcp - CLI install: https://selfielabstudio.com/developers/cli - REST API reference: https://selfielabstudio.com/api-docs - Full agent machine docs: https://selfielabstudio.com/llms.txt - API machine docs: https://selfielabstudio.com/api-docs/llms.txt ### Auth Personal API keys (`sl_`) from Settings → API keys. Headers: `Authorization: Bearer sl_…` or `X-API-Key: sl_…` ## Agent tools (canvas parity) External agents can perform the same core creative loop as the SelfieLab studio canvas agent. Authenticate with a user API key (`sl_…`) via `Authorization: Bearer` or `X-API-Key`. | Tool | API | CLI | Credits | |------|-----|-----|---------| | `create_image` | `POST /api/generate/grok-image-pro` | `selfielab generate` | Typically 2–4 credits per image depending on provider (default: grok-image-pro). | | `create_image_batch` | `POST /api/generate/grok-image-pro` | `selfielab generate` | Credits × number of images. | | `edit_image` | `POST /api/generate/grok-image-pro` | `selfielab edit-image` | Same as create image for the chosen provider. | | `remove_background` | `POST /api/photo-editor/remove-background` | `selfielab remove-bg` | 2 credits per image. | | `overlay_text` | `POST /api/agent/overlay-text` | `selfielab overlay-text` | Free for images; video overlay uses processing credits when configured (often free/fal-backed). | | `create_video` | `POST /api/generate/video` | `selfielab video` | Varies by provider (often 1–4 credits/sec). Default provider: grok-video or seedance. | | `edit_video` | `POST /api/generate/video-edit` | `selfielab edit-video` | Similar to video generation cost for the clip duration. Pro/Studio for some models. | | `stitch_videos` | `POST /api/agent/stitch-videos` | `selfielab stitch` | Processing cost; typically free or low credit cost for merge. | | `trim_video` | `POST /api/agent/trim-video` | `selfielab trim` | Processing only (no generative credits). | | `mute_video` | `POST /api/agent/mute-video` | `selfielab mute` | Processing only (no generative credits). | | `write_shot_prompt` | `POST /api/agent/write-shot-prompt` | `selfielab write-shot-prompt` | Vision call; typically free or minimal credits. | ## Install for agents (public) ### One-click remote MCP + OAuth (recommended for stores) 1. Add connector URL: `https://selfielabstudio.com/api/mcp` 2. Client discovers OAuth: `https://selfielabstudio.com/.well-known/oauth-authorization-server` 3. Browser window: sign in to SelfieLab → **Allow access** 4. Agent calls tools with the OAuth access token (no manual `sl_` paste) Consent page: `https://selfielabstudio.com/oauth/mcp/consent` ### CLI (pipelines / shell agents) ```bash npm install -g selfielab export SELFIELAB_API_KEY=sl_your_api_key # optional export SELFIELAB_BASE_URL=https://selfielabstudio.com selfielab tools --json selfielab generate "golden hour beach selfie" --json ``` One-off: `npx selfielab tools --json` ### Docs - Agents / MCP: https://selfielabstudio.com/developers/mcp - CLI: https://selfielabstudio.com/developers/cli - API: https://selfielabstudio.com/api-docs ## Core product features ### AI Image Generation - Reference photo → consistent character - Providers: Gemini, GPT Image, Seedream, Flux, Grok Imagine - Support for 4K resolution output ### AI Video Generation - Transform still images into cinematic video clips - Talking head videos with natural lip sync - Multiple video providers ### Studio canvas agent In-app agent with create/edit image, remove background, overlay text, video, stitch, trim, mute, write_shot_prompt. ### Marketplace Browse and purchase prompt packages from other creators. ## Key pages - / - Landing page - /app - Product app - /builder - Image generation - /video - Video generation - /photo-editor - AI photo editor - /developers - Agent & developer hub - /developers/mcp - Agents overview - /developers/cli - CLI install - /api-docs - API reference - /marketplace - Prompt marketplace - /collection - User library - /feed - Community feed ## Privacy & Ownership - Users own all images they create - Images are private by default - Users can delete their images anytime ## Pricing - Free credits provided to start - Credit packs available for purchase - Subscription plans for regular users - API keys on Pro/Studio ## Contact - Website: https://selfielabstudio.com - Support: https://selfielabstudio.com/support