CCAPI
C
CCAPI
/edit_image

Edit an image

Edit existing images according to an instruction, using the dedicated image edit endpoint. Provide at least one source image. For pure text-to-image, or for mod

liveunknown~5s typical
mcpccapi
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ai-ccapi-mcp /edit_image for me.

Input

FieldTypeDescription
model*stringExact model name, e.g. gpt-image-2 or nano-banana-pro. Call list_models with category 'ima
prompt*stringDescription of the image to generate.
imagesstringOptional reference images as HTTPS URLs or data URLs, for image-to-image generation. Not a
sizestringOutput size, e.g. 1024x1024, 1536x1024, or 'auto'. Model-dependent; omit for the model def
nstringHow many images to generate. Defaults to 1. Each one is billed.
qualitystringQuality hint, e.g. low, medium, high or auto. Model-dependent.
response_formatstring'url' (default) returns links; 'b64_json' returns base64 data, which is far larger and usu
aspect_ratiostringZ-Image only: required output aspect ratio. Supported values: 1:1, 4:3, 3:4, 16:9, 9:16.
nsfw_checkerstringZ-Image only: enable or disable the upstream NSFW checker. Explicit false is preserved.
asyncbooleanSubmit asynchronously and return a task_id instead of waiting. Use when the client times o
wait_secondsstringOnly with async: poll server-side for up to this many seconds (max 240) and return the fin

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"mcp-ai-ccapi-mcp","endpoint":"/edit_image","input":{"model":"...","prompt":"..."}}'
cli
npx cracked-ai run -p mcp-ai-ccapi-mcp -e /edit_image -i '{"model":"...","prompt":"..."}'
mcp
run_tool({ provider: "mcp-ai-ccapi-mcp", endpoint: "/edit_image", input: {"model":"...","prompt":"..."} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.