New in the API: asset jobs and file names
Hi there,
Two additions for developers, in the API and the MCP server. You can now run AI image jobs on their own, outside a design, and name your generated files per request.
Asset jobs: AI image tools, standalone
Run remove background, upscale and text to image directly, without a design:
POST /images/remove-backgroundPOST /images/upscalePOST /images/text-to-image
Each call returns 202 with a job_id. Poll GET /asset-jobs/{jobId} until status is COMPLETED or FAILED, or pass a callback_url to receive the ASSET_JOB_FINALIZED webhook. GET /ai-models lists the models and options for each action. Credits are charged only when a job completes.
In the MCP server, the matching tools are images_remove_background, images_upscale, images_text_to_image and check_asset_job_status.
Name your files per request
Add a top-level file_name to a generation request to replace the design's naming scheme for that request. It accepts the same properties as the design naming, for example "file_name": "spring-{format_name}", and the result comes back in file.filename.
It works on single image (sync), multi-format (async) and multi-page PDF requests.
Tip: Send "file_name": "spring-{format_name}" in a multi-format request to get one clearly named file per format, with no renaming afterwards. File names can be 1 to 255 characters; repeated names get -1, -2 on export.