Skip to main content

Build

Image Creation

AiToEarn

Generate or edit raster images for social posts, product shots, covers, mockups, and variants. Use when the user asks to create, edit, restyle, adapt, or redesign images based on provided images, or batch-generate bitmap images, or mentions posters, covers, product photos, illustrations, or reference-image generation.

  • New
  • v1.0.0
  • Reviewed Dec 4
  • No reviews yet

Capabilities

  • Tools

    Do not call other image APIs, CLIs, or local scripts

  • Decision tree

    Assume a new image unless the user clearly asks to change an existing one

  • Transparent images

    This runtime has no alpha or background-removal tool

  • Prompt schema

    Use only the lines that help

Getting started

Full instructions

Install the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.

Instructions: SKILL.mdv1.0.0

Image Creation

Before image generation, follow AiToEarn site and OAuth checks and use the verified connection for the selected edition. If the connection cannot be verified, pause before submitting.

Generate or edit raster images with list_image_models and generate_image.

Shared prompt guidance: references/prompting.md.
Copy/paste recipes: references/sample-prompts.md.

Tools

  • list_image_models: call first. Use only returned name, sizes, qualities, styles, maxInputImages, and pricing. Do not invent model ids or sizes.
  • generate_image: prompt required; model optional (omit to use the default gpt-image-2.5-sunburst); optional images, size, quality, style.
    • Default model: gpt-image-2.5-sunburst when the catalog lists it; otherwise use another GPT Image 2.5 model or the closest available model.
    • Default size when the user has no size preference (1080p class): 16:9 -> 1536x864, 9:16 -> 864x1536, 1:1 -> 1024x1024; otherwise pick the catalog size matching the requested aspect.
    • No images → new generation.
    • One or more images (URLs) → reference/edit generation. Do not exceed maxInputImages.
  • Credit (积分) estimate runs automatically. If the user must confirm, wait. Do not retry a rejected cost.

Do not call other image APIs, CLIs, or local scripts.

When to use

  • New image: concept, product shot, cover, poster, social asset, mockup
  • New image guided by reference images (style, composition, mood, subject)
  • Adapt or redesign an image or design the user provided (change format, layout, device framing, restyle) while keeping its content
  • Edit an existing image (object change, background, lighting, compositing, restyle)
  • Many assets or variants for one request

When not to use

  • Matching an existing SVG/vector icon or logo system
  • Simple shapes, diagrams, or icons that should be SVG, HTML/CSS, or canvas
  • A small edit when the source is already an editable native file
  • The user wants deterministic code-native output instead of a bitmap

Decision tree

  1. Intent: were images provided, and what role do they play?
  2. Execution: one asset or many assets/variants?

Intent:

  • User provided images with the request → the images MUST be passed in images. Generate from scratch without them only if the user explicitly says the images are irrelevant or inspiration-only. Ignoring provided images and inventing content is a failure mode.
    • User wants to change an existing image while keeping parts of it → edit. Pass those image URLs in images and list invariants in the prompt.
    • User gives images as style/composition/mood/subject references → generate with references. Still pass URLs in images, and label each role in the prompt.
    • User gives an image or design to adapt, redesign, or translate into another format/framing → generate with references, grounded in the image's real content (see Workflow step 2).
  • No images → generate.

Execution:

  • Distinct assets need distinct generate_image calls and distinct prompts.
  • Variants of one prompt still use one call per variant, with a single targeted change in each prompt.

Assume a new image unless the user clearly asks to change an existing one.

Workflow

  1. Call list_image_models and pick model / size / quality / style from that catalog. When the user has no model preference, use gpt-image-2.5-sunburst if listed; otherwise use another GPT Image 2.5 model or the closest available model. If the user names a target device, format, or aspect (e.g. landscape, poster, phone), pick the size that matches it; otherwise use the default 1080p-class size (16:9 -> 1536x864, 9:16 -> 864x1536, 1:1 -> 1024x1024). Default-confirmation rule: when the user has no preference, use these defaults directly. Before generating with any non-default model, size, quality, or style, briefly tell the user why the default is not suitable and which option you plan to use, then wait for their explicit confirmation; never switch silently. If the user already specified that model/size/quality/style in their request, their choice stands and no extra confirmation is needed.
  2. Inspect every image the user provided: identify its actual subject, visible text and its language, colors, and layout. The prompt must describe what is really in the image — never substitute invented content for it.
  3. Collect prompt, verbatim text, constraints/avoid list, and any input image URLs.
  4. Label every input image role: edit target, style reference, compositing insert, or adaptation base.
  5. If the request is a photo, illustration, sprite, product image, or other raster asset, use generate_image. If it should match repo-native SVG/vector/code, edit those instead.
  6. Shape the prompt:
    • Specific user prompt → normalize, do not add creative requirements.
    • Generic prompt → add only detail that materially improves the result. See references/prompting.md.
    • Grounded on a user image → reproduce its real content faithfully (original text and language, palette, layout) and describe only the requested changes. List what must be preserved as invariants.
  7. Call generate_image once per requested asset or variant.
  8. Inspect the result: subject, style, composition, text accuracy, invariants.
  9. Iterate with one targeted change. Repeat invariants on every edit.
  10. Report: write the returned image URL(s) verbatim in your reply (the frontend renders them as previews), plus the final prompt, model, and size. Omitting the URL is a failed delivery. State briefly what came from the input images and what was changed; do not append generic advice unrelated to the images.

Transparent images

This runtime has no alpha or background-removal tool. generate_image returns an image URL, not a local transparent PNG.

If the user asks for a cutout or transparent background:

  1. Prompt a perfectly flat solid chroma-key background (#00ff00 by default; #ff00ff for green subjects).
  2. Require no shadows, gradients, floor, reflections, or key color inside the subject.
  3. Tell the user the result is a keyed image URL they can cut out later. Do not claim a true alpha PNG.

Prompt schema

text
Use case: <taxonomy slug>
Asset type: <where the asset will be used>
Primary request: <user's main prompt>
Input images: <Image 1: role; Image 2: role> (optional)
Scene/backdrop: <environment>
Subject: <main subject>
Style/medium: <photo/illustration/3D/etc>
Composition/framing: <wide/close/top-down; placement>
Lighting/mood: <lighting + mood>
Color palette: <palette notes>
Materials/textures: <surface details>
Text (verbatim): "<exact text>"
Constraints: <must keep/must avoid>
Avoid: <negative constraints>

Use only the lines that help. For edits, list invariants: change only X; keep Y unchanged.

Use-case taxonomy

Generate: photorealistic-natural, product-mockup, ui-mockup, infographic-diagram, scientific-educational, ads-marketing, productivity-visual, logo-brand, illustration-story, stylized-concept, historical-scene.

Edit: text-localization, identity-preserve, precise-object-edit, lighting-weather, background-extraction, style-transfer, compositing, sketch-to-render.

Examples

Generation

text
Use case: product-mockup
Asset type: landing page hero
Primary request: a minimal hero image of a ceramic coffee mug
Style/medium: clean product photography
Composition/framing: wide composition with usable negative space for page copy if needed
Lighting/mood: soft studio lighting
Constraints: no logos, no text, no watermark

Edit

text
Use case: precise-object-edit
Asset type: product photo background replacement
Primary request: replace only the background with a warm sunset gradient
Input images: Image 1: edit target
Constraints: change only the background; keep the product and its edges unchanged; no text; no watermark

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Signing

Verified copySLSA L1
Signed by
skills-hub.ai verified copy of https://github.com/yikart/AiToEarn
Method
Verified copy of the source repoPublished by a community repo, not by skills-hub.ai. We signed this exact version to vouch that its content matches what the repo published. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed

Reviews (0)

More from AiToEarn

View source →
image-editEdit an existing image with deterministic pixel operations via image_edit — rotate, flip, crop (free/ratio/circle), resize, compress/format-convert, adjust brightness/saturation/contrast, sharpen, blur, mosaic, rounded corners, negate,…1 installsbyted-mediakit-cloudedit-plannerTurn editing intent and video, audio, or image sources into an evidence-backed, executable CloudEdit plan. Use whenever an edit needs decisions about selection, story, ordering, pacing, sound, composition, or necessary media processing,…0 installsbrowser-operationsDrive the user's Cloud Space browser - start or stop the space, navigate, click, type, and extract web content with natural-language actions. Use when the user asks to open a website, operate or automate a browser, fill in web forms, post…0 installsbyted-mediakit-audiogenGenerate audio with Seed Audio through MediaKit MCP. Use for speech, narration, character dialogue, sound effects, ambience, and audio scenes from text, preset voices, reference audio, or an image. Supports voice selection, delivery…0 installsvideo-generationGenerate, edit, or extend videos with Seedance models via list_video_generation_models and generate_video; optimizes prompts per model's conventions. Use when user asks to create, edit, extend, or storyboard a video, or mentions seedance /…0 installsbyted-asset-preparationDetermine how to make media suitable for a planned use: retain it, extract components, separate mixed sound, remove unsuitable burned-in captions, adapt its format, or source replacement or additional media through search or generation.…0 installs

Frequently asked questions about image-creation

What does the image-creation skill do?

Generate or edit raster images for social posts, product shots, covers, mockups, and variants. Use when the user asks to create, edit, restyle, adapt, or redesign images based on provided images, or batch-generate bitmap images, or mentions posters, covers, product photos, illustrations, or reference-image generation. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the image-creation skill?

Run `npx @skills-hub-ai/cli install aitoearn-doubao-skill-aitoearn-image-creation` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/aitoearn-doubao-skill-aitoearn-image-creation/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does image-creation work with?

image-creation runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the image-creation skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use image-creation after installing it?

In Claude Code, type `/aitoearn-doubao-skill-aitoearn-image-creation` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the image-creation skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/aitoearn-doubao-skill-aitoearn-image-creation)](https://skills-hub.ai/skills/aitoearn-doubao-skill-aitoearn-image-creation)
HTML
<a href="https://skills-hub.ai/skills/aitoearn-doubao-skill-aitoearn-image-creation"><img src="https://skills-hub.ai/api/badges/skill/aitoearn-doubao-skill-aitoearn-image-creation" alt="Install on Skills Hub"></a>

More options in the badge docs.