CropDen: image sizes and AI image tools
v1.0.0Platform image sizes with safe zones (free), plus AI extend, upscale and background removal.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_image_sizes Image sizes for social media and passports
Exact image sizes for Instagram, YouTube, TikTok, X, LinkedIn, Facebook, Discord, Twitch, Pinterest, marketplaces and passport photos, with safe zones (pixel areas the app covers or crops), upload limits and minimum sizes. Free, no API key. With no arguments it lists every size id; pass `id` (e.g. "youtube-banner/banner") or `platform` (e.g. "Instagram") for full details.
| Parameter | Type | Description |
|---|---|---|
id | string | A size id like "instagram-story/story", or a group id like "youtube-banner". |
platform | string | Platform name, e.g. "YouTube", or "passport". |
ai_extend_image AI image extender (outpaint)
Extend an image to a wider or taller shape with AI, e.g. a portrait photo to a 16:9 YouTube thumbnail without cropping the subject. Costs 5 CropDen credits per run, refunded if it fails. Needs a CropDen API key. Input: PNG, JPEG or WebP, up to 10 MB and 2048 px on the longest side. Returns a link to the result, valid 7 days. The model redraws the whole frame, so tiny details of the original can change.
| Parameter | Type | Description |
|---|---|---|
ratio * | string | Target shape, width:height. |
image_base64 | string | The image as base64 (a data: URL is fine). Use instead of image_url for local files. |
image_url | string | Public https URL of a PNG, JPEG or WebP image. |
ai_upscale_image AI image upscaler
Upscale an image 2x or 4x with AI. Costs 8 credits for 2x and 12 for 4x, refunded if it fails. Needs a CropDen API key. Input: PNG, JPEG or WebP, up to 10 MB; longest side up to 2048 px for 2x or 1024 px for 4x. Returns a link to the result, valid 7 days.
| Parameter | Type | Description |
|---|---|---|
factor * | number | |
image_base64 | string | The image as base64 (a data: URL is fine). Use instead of image_url for local files. |
image_url | string | Public https URL of a PNG, JPEG or WebP image. |
ai_remove_background Remove background
Remove the background of an image with AI; the result is a PNG with transparency. Costs 1 credit per run, refunded if it fails. Needs a CropDen API key. Input: PNG, JPEG or WebP, up to 10 MB and 2048 px on the longest side. Returns a link to the result, valid 7 days.
| Parameter | Type | Description |
|---|---|---|
image_base64 | string | The image as base64 (a data: URL is fine). Use instead of image_url for local files. |
image_url | string | Public https URL of a PNG, JPEG or WebP image. |
get_ai_task Check an AI run
Status of an AI run that was still working when its tool returned. Pass the task_id it gave you; wait about 10 seconds between checks.
| Parameter | Type | Description |
|---|---|---|
task_id * | string |
get_credit_balance Credit balance
How many CropDen credits the API key owner has left.