SuperAPI AI Directory

Make Portrait

Design & creation

View repository

Updated 10-15 21:52

About this skill

Make Portrait

Generate one photoreal portrait. Optionally takes a reference photo (R2-hosted) and a realism preset. Identity is locked from the reference image when provided.

When to use this

Call this skill when the user asks for the outcome described above. It runs on the agent-media vNext primitive runtime via the mcp__agent-media__make_portrait MCP tool. Authentication is the user's existing agent-media Bearer token (issued by agent-media login).

How to call it

Preferred path: MCP tool mcp__agent-media__make_portrait. Schema is auto-published via tools/list against the same MCP server, so don't restate the schema here — trust the server's response.

Fallback path: REST.

POST https://api.agent-media.ai/v1/skills/make_portrait/run
Authorization: Bearer $AGENT_MEDIA_API_KEY
Content-Type: application/json
Idempotency-Key: <any unique string per intent>

{ "description": "a friendly young woman smiling at the camera, soft natural daylight, candid framing", "realism_target": "natural", "aspect_ratio": "1:1" }


## What it costs and how long it takes

- Credits: `35`
- Wall time (typical): `60s`
- Deducted at submit; refunded on terminal failure.

## Polling the result

```http
GET https://api.agent-media.ai/v1/primitives/runs/<run_id>
Authorization: Bearer $AGENT_MEDIA_API_KEY

House rules baked into this skill

Source of truth

This file is auto-generated by scripts/generate-public-skill.ts from the registry at services/api-v2/src/skills/registry.ts. Do not hand-edit; CI rejects drift.