# Magnific — how to use (mcp.ai)

Magnific in natural language: upscale images, generate and list your creations. Connect your Magnific account and use your plan credits.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_magnific?ms=1796396580000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `magnific_account_balance`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/magnific`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://new.mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/magnific/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/magnific/account/balance` — User plan + credits. Check before paid generations. Returns plan.{tier,productName,isUnlimitedMode}, credits.{available,totalPlan,spent,hasExtraCredits}. No history.
- `POST https://api.mcp.ai/api/magnific/audio/music/generate` — AI music generation. Google Lyria or ElevenLabs. Pass `prompt`, optional `model`/`durationSeconds`/`instrumental`. Lyria/Lyria-3 produce fixed 30s; Lyria-3-Pro accepts 30–180s; ElevenLabs accepts 10–3
  - body: { prompt: string, model?: string, durationSeconds?: integer, instrumental?: boolean, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/audio/tts` — TTS voiceover. Single (voiceId) or 2-speaker (speakers). ElevenLabs/Google. No voiceId? Call `audio_voices_show` first (or `audio_voices_list` for agent-only lookup).
  - body: { text: string, voiceId?: integer, speakers?: object[], model?: string, stability?: number, similarityBoost?: number, speed?: number, useSpeakerBoost?: boolean, temperature?: number, systemInstruction?: string, visible?: boolean, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/audio/voices/list` — TTS voice catalog as raw TOON text, no UI. Lean entries without preview URLs. Optional `search` filters by name, description, gender, or language.
  - body: { search?: string }
- `POST https://api.mcp.ai/api/magnific/creations/comment` — Add a comment (or reply) to a user-owned creation.
  - body: { creationIdentifier: string, folderReference: string, text: string, replyToCommentId?: string }
- `POST https://api.mcp.ai/api/magnific/creations/finalize/upload` — Step 2 after PUT from `creations_request_upload`: convert temp path(s) to creations. Images <=25MB, videos <=200MB.
  - body: { path?: string, uploads?: object[] }
- `POST https://api.mcp.ai/api/magnific/creations/get` — Single creation complete data — metadata + URLs (`url` full-res, `previewUrl` ~1024px, `thumbnailUrl` ~400px).
  - body: { creationIdentifier: string }
- `POST https://api.mcp.ai/api/magnific/creations/like` — Toggle heart/favorite reaction on a user-owned creation.
  - body: { creationIdentifier: string, folderReference: string, unlike?: boolean }
- `POST https://api.mcp.ai/api/magnific/creations/list` — Filterable gallery widget (image/video/audio). Use instead of `creations_search` when user wants to browse their library.
  - body: { from?: string, reference?: string, query?: string, fileType?: string, toolNames?: string[] }
- `POST https://api.mcp.ai/api/magnific/creations/move` — Move creations into `targetFolderReference`. Identifiers from `images_generate`/`creations_search`. Foreign identifier → abort. Target folder must belong to user.
  - body: { targetFolderReference: string, creationIdentifiers: string[] }
- `POST https://api.mcp.ai/api/magnific/creations/request/upload` — Step 1 for local/user files: get presigned PUT URL(s). Upload bytes outside MCP, then call `creations_finalize_upload`.
  - body: { mimeType: string, count?: integer }
- `POST https://api.mcp.ai/api/magnific/creations/search` — Search user creations as raw TOON text. Use `creations_get` for one id. `reference` required with from=folder/project-root. Defaults: history, page 1.
  - body: { from?: string, reference?: string, query?: string, page?: integer, folderReference?: string, fileType?: string, toolNames?: string[], excludeToolNames?: string[] }
- `POST https://api.mcp.ai/api/magnific/creations/upload/file` — Import a file the user attached in the host (e.g. a ChatGPT upload) as a creation, then use the returned identifier in image tools. Use this instead of asking for a URL when the user already uploaded 
  - body: { file: object }
- `POST https://api.mcp.ai/api/magnific/creations/upload/image` — Upload public image URL in one step. For local/user files use `creations_request_upload` then `creations_finalize_upload`.
  - body: { url: string }
- `POST https://api.mcp.ai/api/magnific/creations/wait` — Long-poll 1..8 creations until terminal or `timeoutSeconds` (default 25, max 25). In-progress entries get `poll_after_seconds` for the next call.
  - body: { identifiers: string[], timeoutSeconds?: integer }
- `POST https://api.mcp.ai/api/magnific/design/auto/layers` — Extract editable layers from a flat image into a Pikaso design.
  - body: { creationIdentifier: string, name?: string, numLayers?: integer, vectorize?: boolean }
- `POST https://api.mcp.ai/api/magnific/design/auto/resize` — Create resized design pages from an image. Use directly when ratios/social formats are known; otherwise show `design_auto_resize_show`.
  - body: { creationIdentifier: string, aspectRatios: string[], name?: string, textLayers?: boolean, imageLayers?: boolean, numLayers?: integer, multipage?: boolean }
- `POST https://api.mcp.ai/api/magnific/flows/get` — Flow input/output spec as raw TOON text. Each input includes a normalized `kind`, `howToProvide`, and resolved `options`/`presetOptions` where applicable. Call before `flows_run`.
  - body: { identifier: string }
- `POST https://api.mcp.ai/api/magnific/flows/list` — Flows catalog as raw TOON text, no UI. Lean entries without preview URLs. For an inline picker use flows_show; for a single flow input/output spec use flows_get.
  - body: { query?: string, ownership?: string, page?: integer, perPage?: integer }
- `POST https://api.mcp.ai/api/magnific/flows/run` — Run flow. `flows_get` first for input specs. `inputs` is `{inputId: value}` (creation inputs from `creations_list`, voices from `audio_voices_show`). Returns `workflowRunIdentifier` → `flows_wait` → `
  - body: { identifier: string, inputs: object }
- `POST https://api.mcp.ai/api/magnific/flows/wait` — Long-poll a `flows_run`. Terminal: one entry per output creation with real `identifier` for `creations_show`. In-progress: `poll_after_seconds`.
  - body: { workflowRunIdentifier: string, timeoutSeconds?: integer }
- `POST https://api.mcp.ai/api/magnific/folders/create` — Create folder/project. No `parentReference`: workspace root. `type` defaults: project at root, folder when nested.
  - body: { name: string, parentReference?: string, type?: string }
- `POST https://api.mcp.ai/api/magnific/folders/delete` — Move a folder and its files to trash.
  - body: { reference: string }
- `POST https://api.mcp.ai/api/magnific/folders/get` — Fetch folder metadata by `reference`. Use before `creations_search` (`from=folder`). Foreign refs error.
  - body: { reference: string }
- `POST https://api.mcp.ai/api/magnific/folders/list` — List folders/projects as raw TOON text. No params=top level; `onlyProjects`=projects; `parentReference`=children. Refs work with creations/folder tools.
  - body: { parentReference?: string, onlyProjects?: boolean, page?: integer }
- `POST https://api.mcp.ai/api/magnific/folders/rename` — Rename a folder by `reference`.
  - body: { reference: string, name: string }
- `POST https://api.mcp.ai/api/magnific/images/change/camera` — Reframe camera around subject. Defaults: rotate=45, vertical=0, closeup=5.
  - body: { creationIdentifier: string, rotate?: integer, vertical?: integer, closeup?: integer, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/images/crop` — Center-crop to `aspectRatio`. Pixels: `images_resize`. AI upscale: `images_upscale`. Ratios: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9.
  - body: { creationIdentifier: string, aspectRatio: string, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/images/generate` — Generate/edit images. No refs=TTI. references[] (max 12; see field docs). Defaults: mode=auto, ratio=1:1, count<=8. resolution/quality per images_models_list. UI clients: after generating, MUST call `
  - body: { prompt: string, mode?: string, aspectRatio?: string, references?: object[], count?: integer, resolution?: string, quality?: string, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/images/generate/svg` — Text-to-SVG (Recraft v4 Pro Vector). Raster: `images_generate`. Trace existing raster: `images_to_svg`. Default aspectRatio=1:1.
  - body: { prompt: string, aspectRatio?: string, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/images/models/list` — TTI model catalog as lean TOON text. `search` filters by name, slug, description, or tags.
  - body: { search?: string, onlyRecommended?: boolean }
- `POST https://api.mcp.ai/api/magnific/images/relight` — AI relight. 1-4 lights with azimuth/elevation enums, type neutral|gel, intensity 1-10. Gel uses hex `color`.
  - body: { creationIdentifier: string, lights: object[], resolution?: string, numImages?: integer, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/images/remove/background` — Cut-out subject on transparent PNG. Color BG: `images_color_background`. AI scene: `images_generate` with reference + prompt "replace the background with X".
  - body: { creationIdentifier: string, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/images/resize` — Resize to exact pixels (no AI). For real detail upscaling: `images_upscale` first. Aspect: `images_crop`. Dimensions snap to multiples of 8; center-crop on aspect mismatch.
  - body: { creationIdentifier: string, width: integer, height: integer, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/images/skin/enhancer` — AI skin enhancer. faithful preserves identity; creative reinterprets; flexible uses presets. Defaults: faithful, sharpen=0, smartGrain=0.
  - body: { creationIdentifier: string, version?: string, sharpen?: integer, smartGrain?: integer, skinDetail?: integer, optimizedFor?: string, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/images/to/svg` — Trace raster creation into SVG. New vector from prompt: `images_generate_svg`.
  - body: { creationIdentifier: string, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/images/upscale` — AI upscale 2x/4x (Magnific, premium). Exact pixels: `images_resize`. Aspect: `images_crop`. Default scale=2.
  - body: { creationIdentifier: string, scale?: string, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/images/variations` — Generate image-variation grid. Modes: angles|demographics|expressions|age|storyboard|custom. Defaults: angles, 3x3, 1:1, 4k.
  - body: { creationIdentifier: string, variationMode?: string, prompt?: string, gridRows?: integer, gridCols?: integer, aspectRatio?: string, resolution?: string, selectedAngles?: string[], selectedEthnicities?: string[], selectedGenders?: string[], folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/library/create` — Create a reusable library asset (character/product/location) from 1-6 images. Use the returned numeric `id` in generation refs (same id Spaces uses). No LoRA training.
  - body: { name: string, type: string, description?: string, gender?: string, productType?: string, images: object[] }
- `POST https://api.mcp.ai/api/magnific/library/list` — Lean library catalog (characters, styles, elements, locations) for agent reasoning. Picker assets use library://.
  - body: { scope?: string, type?: string, page?: integer, perPage?: integer, search?: string }
- `POST https://api.mcp.ai/api/magnific/models3d/generate` — Image-to-3D GLB. Upload external images first. Animate with `models3d_rig`. Models: tripo-p1 default, tripo-v31, trellis-2.
  - body: { creationIdentifier: string, model?: string, resolution?: integer, textureQuality?: string, faceLimit?: integer, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/project/report` — English markdown status report for a project/folder. Last 7 days default, max 30.
  - body: { reference: string, days?: integer }
- `POST https://api.mcp.ai/api/magnific/spaces/create` — Create empty Space. Share `space.webUrl`; only call `spaces_show` when inline preview is requested.
  - body: { name: string, description?: string }
- `POST https://api.mcp.ai/api/magnific/spaces/edit` — External MCP only. Start headless Space edit. Poll `spaces_edit_status` until allTerminal, then verify with `spaces_state`.
  - body: { query: string, spaceId: string, threadId?: string, selectedElementIds?: string[], selectedConnectionIds?: string[], anchorElementId?: string, anchorDirection?: string }
- `POST https://api.mcp.ai/api/magnific/spaces/edit/status` — Wait for `spaces_edit` like `creations_wait`: long-polls up to `timeoutSeconds` (default 25, max 25). Snapshot-only when 0. Terminal → `spaces_state`.
  - body: { operationId?: string, threadId?: string, runId?: string, timeoutSeconds?: integer }
- `POST https://api.mcp.ai/api/magnific/spaces/get/nodes` — Read-only. Like `spaces_state` but scoped to `nodeIds` + their connections. Cheaper than full board. Needs view perm.
  - body: { spaceId: string, nodeIds: string[], currentPageId?: string }
- `POST https://api.mcp.ai/api/magnific/spaces/list` — Lean spaces catalog as raw TOON text. Share each `webUrl`; call `spaces_show` only for inline canvas preview. Do not use `creations_search`.
  - body: { query?: string, ownership?: string, page?: integer, perPage?: integer }
- `POST https://api.mcp.ai/api/magnific/spaces/run` — Run Space workflow from `startNodeId`. Modes: singular, connected default, downstream. Poll with `spaces_run_status`.
  - body: { spaceId: string, startNodeId: string, mode?: string }
- `POST https://api.mcp.ai/api/magnific/spaces/run/status` — Poll `spaces_run`. `timeoutSeconds` long-polls up to 25s. In-progress returns `poll_after_seconds`; terminal call `creations_show`.
  - body: { workflowRunIdentifier: string, timeoutSeconds?: integer }
- `POST https://api.mcp.ai/api/magnific/spaces/state` — Read-only board context, raw TOON. Default: current page + pageIndex (other pages, counts). pageId: another page on demand. scope=all: whole board (costly). selectedElementIds: selected nodes. Needs v
  - body: { spaceId: string, selectedElementIds?: string[], selectedConnectionIds?: string[], currentPageId?: string, pageId?: string, scope?: string }
- `POST https://api.mcp.ai/api/magnific/stock/download` — Signed download URL for a stock item. Pass folder_reference to also save as a creation (rate-limited).
  - body: { id: integer, type?: string, folder_reference?: string }
- `POST https://api.mcp.ai/api/magnific/stock/get` — Full details for a single Freepik stock item: preview URL, dimensions, formats, author.
  - body: { id: integer, type?: string }
- `POST https://api.mcp.ai/api/magnific/stock/search` — Search Freepik stock catalog by keyword. Returns items with IDs, titles, types, preview URLs. Use stock_get for full details, stock_download for file URL.
  - body: { query: string, content_type?: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/magnific/stock/to/creation` — Convert Freepik stock item → Pikaso creation. Use after user selects from stock_show.
  - body: { id: integer, folder_reference?: string, title?: string }
- `POST https://api.mcp.ai/api/magnific/video/concatenate` — Concatenate completed video creations into one MP4. Assembles multi-clip plans from `video_plan`. Audio from each clip; no external audio bed. Returns queued creation.
  - body: { name?: string, creationIdentifiers: string[], folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/video/generate` — Generate video. External clients: call `video_plan` first to draft the brief and resolve model choice — skip only if the user explicitly says "just generate" or "one-shot". Pick a model with `slug` (c
  - body: { video: object, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/video/models/list` — Video-gen model catalog as lean TOON text. `search` filters by name, slug, description, or tags. Run `video_plan` first — plan resolves slug to validate here.
  - body: { search?: string, onlyRecommended?: boolean }
- `POST https://api.mcp.ai/api/magnific/video/plan` — Call FIRST for any video request. Returns markdown plan: brief, open questions, characters to prepare, recommended model slug, prompt draft. Videos >15s: plan splits into clips + `video_concatenate` i
  - body: { prompt: string, durationHint?: integer, styleHint?: string, aspectRatioHint?: string, referenceIdentifiers?: string[] }
- `POST https://api.mcp.ai/api/magnific/video/speak` — Make a character speak. Image+audio → talking head (Veed Fabric 1.0). Video+audio → lip sync (Lipsync 2.0). Omit `mode` for auto. Pass asset URLs or a creation `identifier` (from `audio_tts`, `images_
  - body: { audioUrl: string, videoUrl?: string, imageUrl?: string, mode?: string, resolution?: string, prompt?: string, voiceId?: integer, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/video/upscale` — Upscale video via Topaz or Magnific. Pass `creationIdentifier` or Freepik `videoUrl`. Params: `video_upscale_models_list`. Then call `creations_show`.
  - body: { creationIdentifier?: string, videoUrl?: string, mode: string, upscaleFactor?: number, targetFps?: number, targetResolution?: number, focus?: number, sharpen?: number, enhancementModel?: string, frameInterpolation?: string, creativity?: number, magnificResolution?: string, premiumQuality?: boolean, fpsBoost?: boolean, smartGrain?: number, flavor?: string, turbo?: boolean, preview?: boolean, strength?: number, folderReference?: string }
- `POST https://api.mcp.ai/api/magnific/video/upscale/models/list` — Video upscale mode catalog as raw TOON text (topaz, magnific, magnific_precision) with required/optional params, ranges and enums. Read before calling `video_upscale`.

## Example prompts
- "Upscale this image with Magnific"
- "List my recent Magnific creations"
- "Generate a variation of this image with Magnific"

## More
- Page: https://new.mcp.ai/magnific
- Agent spec (llms.txt): https://new.mcp.ai/magnific/llms.txt
- Postman collection: https://new.mcp.ai/magnific/postman.json
