What this lets you do
Create and edit image files from your agent, then save them into your project. The DreamLayer workflow repository provides portable skills and Claude Code and Codex plugin packages from one maintained source.What you need
- Node.js 22.12 or later.
- An API key from the developer console.
- Credits for paid generation. New API accounts start at zero credits.
dreamlayer@0.4.0-beta.3or@dreamlayer/mcp@0.4.0-beta.3for the complete workflow, including sprites. The stablelatesttag remains0.3.0.
Steps
- Install the task instructions and choose your agent and desired skills:
- Configure DreamLayer using the client setup guide. Supply the API key to the MCP server process through private configuration. Do not commit it.
- Ask the agent to read capabilities and balance. These calls spend no credits.
- Give it a concrete brief, destination and authorized credit budget. For example: “Create one original app-icon concept for a gardening app, save the PNG into my assets folder, and use at most one image operation.”
- Inspect the result. For sprites, review the preview before using the Godot or Unity examples.
Confirm it worked
The agent should produce a saved local file and identify its dimensions, any limitations and the completed execution. A skill installation alone does not prove that authentication, generation or engine playback works. The example repository includes a real reference-to-seven-frame ZIP. Its Godot import was checked for frame advancement. Unity files require validation in your Unity editor.Common errors
- Missing tools: installing skills supplies instructions; configure the MCP server separately.
- Unsupported sprites: use the pinned beta and check
sprite_sheetin capabilities. - Insufficient credits: read balance and compare against the whole quote. Do not start a smaller or different job without an authorized scope.
- Interrupted stream or rate limit: save the execution ID and cursor, back off, then resume the existing job. Do not repeatedly poll in a tight loop.
- Download failure: fix the destination and download the completed execution again.
Troubleshooting
Follow execution recovery. Ordinary image operations currently cost one credit each. Sprite pricing depends on frame count and rounds upward once per order to a tenth of a credit; quote from capabilities and enforcemax_credits.
Raster outputs do not imply SVG files, trademark clearance, verified print compliance, exact product fidelity, pixel-perfect artwork or guaranteed animation quality. Store and ad publishing are separate actions.