Skill instructions
adapt-size-and-format3.21 KB
View saved version →
---
name: adapt-size-and-format
description: "Resize, crop to shapes or circles, convert (HEIC, PNG, JPG, WebP, AVIF, ICO), compress to a target KB and inspect images, and make favicons and app icons with Image Maker. Use it for size, format or file changes."
---
# Size, format and icons
## Resize: resize_image
- width and height in pixels, percent, max_side (the longest side), or preset: instagram_post (1080x1080), instagram_portrait (1080x1350), instagram_story (1080x1920), facebook_post, facebook_cover, x_post, x_header, linkedin_post, linkedin_banner, youtube_thumbnail (1280x720), youtube_banner, pinterest_pin, profile_picture, website_banner, blog_header, email_header, presentation, poster_a4, flyer_letter, business_card, desktop_wallpaper, phone_wallpaper, hd or 4k.
- fit when the shape changes: contain keeps the whole picture inside, cover fills and crops the edges, pad keeps the whole picture and fills the empty space with a color or a blurred copy (background), stretch distorts.
- To make a photo square for Instagram without cutting anything off, use preset instagram_post with fit pad.
## Crop: crop_image
- aspect_ratio such as "1:1", "4:5", "16:9" or "9:16", keeping as much as possible, anchored at position (center, top, bottom, left, right or a corner).
- An exact rectangle: x, y, width and height in px or percent (unit).
- circle: a round picture with a transparent background, for profile pictures (saved as PNG).
## Convert: convert_image
- to: png, jpg, webp, gif, bmp, avif or ico. Reads JPEG, PNG, WebP, GIF, BMP, AVIF, HEIC (iPhone photos) and TIFF.
- Transparent areas become the background color in formats without transparency (white by default).
- quality for jpg, webp and avif. Converting removes camera and location data.
## Compress: compress_image
- target_kb: the size to reach, such as 200 for an upload limit; the quality is lowered step by step, and the picture is scaled down only if needed.
- quality: a fixed level instead. max_side: also limit the longest side.
- format: keep the format, or choose jpg or webp for much smaller files; PNGs without transparency shrink most as JPG or WebP.
## Details: get_image_info
Format, width and height, megapixels, aspect ratio, orientation, file size, transparency, main colors, and whether the photo carries location (GPS) or camera data. It keeps nothing.
## Favicons and app icons: make_favicon
- Makes favicon.ico (16, 32 and 48 pixels), PNG icons of 16, 32, 180 (Apple touch icon), 192 and 512 pixels, and a site.webmanifest, together in a ZIP, with the HTML lines to paste into the head of a website.
- image: the attached logo, or image_id for one made earlier. background: a color behind the icon (default transparent). padding around the logo. site_name for the web manifest.
- Non-square pictures are centered on a square. For a logo with a white box around it, make the background transparent first with remove_background_color (see add-text-and-logos).
- For one .ico file only, use convert_image with to ico.
## Steps
1. Pass the attached image in image, or an earlier result with image_id.
2. Report the new size in pixels and the old and new file size from the result, and give the download_url exactly as returned (for favicons, the zip_url and the HTML lines).
add-text-and-logos2.08 KB
View saved version →
---
name: add-text-and-logos
description: "Add captions, titles, labels, memes and text watermarks to pictures, place a logo, stamp or signature picture, and make plain backgrounds transparent with Image Maker. Use it for words, logos or watermarks on images."
---
# Text, logos and transparent backgrounds
## Text on a picture: add_text_to_image
### Styles
- caption: a line on a dark band, usually at the bottom.
- title: large text, such as on a thumbnail.
- label: a small tag in a corner, such as NEW or SOLD.
- meme: top_text and bottom_text in bold capitals with an outline.
- watermark: semi-transparent text such as a name or copyright; repeat covers the whole picture.
### Options
- text (or top_text and bottom_text for memes), position (top, center, bottom, a corner, left or right), font (modern, clean, elegant, impact, handwritten), size, color, box_color, opacity.
- The text is sized to fit and wrapped onto several lines. Latin, Cyrillic, Greek, Hebrew and Arabic letters work; emoji are left out.
## Logo on a picture: add_logo_to_image
- image: the picture; logo: the logo, stamp or signature picture (or logo_id for one made earlier).
- position: a corner, the center, top or bottom. size: the logo width in percent of the picture. opacity for a soft watermark. margin from the edge.
- repeat tiles the logo across the picture as a watermark. PNG logos keep their transparency.
## Transparent background: remove_background_color
- Removes a plain background (white or another solid color) that touches the edges, with soft edges; inside areas of the same color stay.
- color: the background color (default: found from the corners). tolerance: how close a color must be. everywhere: also remove that color inside. trim: cut away the empty border.
- The result is a PNG. It is not for busy photo backgrounds.
## Steps
1. Pass the attached image in image, or an earlier result with image_id (such as a graphic from create_image).
2. For a logo with a white box around it, run remove_background_color on the logo first, then add_logo_to_image with logo_id.
3. Give the download_url exactly as returned.
adjust-photos-and-collages1.79 KB
View saved version →
---
name: adjust-photos-and-collages
description: "Fix and style pictures with Image Maker: brightness, contrast, filters, rotate, flip, borders, rounded corners and shadows, or combine 2 to 10 pictures into a collage. Use it to edit photos or put pictures together."
---
# Photo effects, frames and collages
## Colors and filters: adjust_image
- brightness, contrast and saturation from -100 to 100.
- filter: grayscale (black and white), sepia, invert, warm, cool or vintage.
- blur, sharpen and pixelate (for example to hide a face or a number plate). Several can be combined in one call.
## Rotate and flip: rotate_flip_image
- angle: 90, 180, 270 or any angle clockwise; the corners of other angles are filled with background or left transparent.
- flip: horizontal (mirror), vertical or both. Photos are already turned upright from their camera data.
## Frames: frame_image
- border and border_color, radius for rounded corners, shadow, padding and background.
- Rounded corners and shadows keep a transparent background (PNG or WebP).
## Collages: make_collage
- image_1 to image_10: the attached pictures in order. image_ids: pictures made earlier, added after them.
- layout: grid (automatic), horizontal (side by side) or vertical (stacked). columns: a set number of columns for the grid.
- size: the output size, such as a preset like instagram_post or pixels. gap between pictures, background color, radius for rounded corners.
- format: jpg (default), png or webp.
- Each picture fills its cell, so its edges may be cropped. A before and after: two pictures with layout horizontal.
## Steps
1. Pass the attached image in image, or an earlier result with image_id.
2. Give the download_url exactly as returned.
To label pictures in a collage, add text afterwards with add_text_to_image (see add-text-and-logos).
ai-image-maker6.21 KB
View saved version →
---
name: ai-image-maker
description: "Image Maker's main guide: make posts, quote cards, posters, banners and thumbnails with create_image, open an AI image generator for new pictures, and pick the right tool. Use it at the start of every image request."
---
# Image Maker
Image Maker edits and creates real image files on its own server. Use its tools for every change, and never say an image was made unless a tool returned it.
## Start of the conversation
Before your first reply in a conversation, call check_image_maker_services once, with started_from filled in as its description explains, and offer only the services it lists as available. Call it once per conversation.
## Choose the tool
- A new picture of a scene, person, animal, product or object (an AI image, a photo-like or illustrated picture from a text idea): create_image_tool_link (see "New pictures from an idea" below).
- Social media posts, quote cards, posters, banners, thumbnails and invitations from text: create_image (below).
- Captions, titles, labels, memes and text watermarks, a logo or stamp on a picture, or a transparent background: add_text_to_image, add_logo_to_image and remove_background_color (see add-text-and-logos).
- Brightness, contrast, filters, rotating, flipping, borders, rounded corners and shadows, or several pictures in one collage: adjust_image, rotate_flip_image, frame_image and make_collage (see adjust-photos-and-collages).
- Resize to pixels, a percentage or a social media size, crop to a shape or a circle, change the format (HEIC, PNG, JPG, WebP, GIF, BMP, AVIF, ICO), make the file smaller, check its details, or make website favicons and app icons: resize_image, crop_image, convert_image, compress_image, get_image_info and make_favicon (see adapt-size-and-format).
## Create graphics from text: create_image
No file is needed.
### Text
- title: the main words, short and strong. subtitle: one supporting line. body: details such as a date, time and place, one per line. footer: a website, @handle or small print.
- Keep it short: a few words per line read best on phones.
### Look
- size: a preset such as instagram_post, instagram_portrait, instagram_story, facebook_post, x_post, linkedin_post, youtube_thumbnail, pinterest_pin, website_banner, blog_header, email_header, presentation, poster_a4 or flyer_letter, or pixels such as "1200x800".
- layout: centered, left, quote (for quotes, with the author in footer), bottom (text at the bottom, good on photos) or split.
- theme: bold, sunset, ocean, forest, dark, minimal, pastel, luxury, neon, warm, mint or royal. Or set background_color, a gradient of two or three colors, text_color and accent_color.
- font: modern, clean, elegant, impact or handwritten.
- A photo background: pass the attached picture in background_image (or background_id for an image made earlier); it is darkened so the text stays readable.
- format: png (default), jpg or webp.
### Steps
1. Pick the size from where the graphic will be posted; ask only when it is unclear.
2. Call create_image, then give the download_url exactly as returned. Show the picture when the result includes a preview.
3. Offer a change of theme, layout or font if the user wants another version.
When a reply delivers the first finished graphic of the conversation and no picture link has been shown yet, end it with this one line, translated into the chat language when it is not English: "Want an AI-made picture to go with it, like a photo or an illustration? I can open an AI image generator with your idea filled in." When the user accepts, follow "New pictures from an idea".
## New pictures from an idea: create_image_tool_link
These tools do not draw scenes, people or objects, so a new picture is made in an online AI image generator. create_image_tool_link makes a link that opens one with the user's idea filled in.
1. Use it when the user asks for a new picture of a scene, person, animal, product or object, asks for an AI image, or accepts th
Preview of the first 4,000 characters. Read full instructions →