AI Agent Hub
Back to skills
Nano Banana Pro Image Generation and Editing icon

Nano Banana Pro Image Generation and Editing

Design & Media Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Install @user_f95f21b8/dlazy-banana-pro using https://skillhub.cn/install/skillhub.md.

About this skill

Problem it addresses

When an agent needs image generation or reference-image editing inside a workflow, a generic prompt is often not enough: the call needs authentication, stable output handling, and a clear failure mode. This skill connects Nano Banana Pro for text-to-image and image-to-image work, making it usable as a scripted media capability.

How it works

  • It acts as a thin client for the hosted dLazy API, sending prompts and parameters to api.dlazy.com for inference.
  • It requires a dLazy API key; the key can also be supplied through the DLAZY_API_KEY environment variable.
  • Local image paths can be provided as inputs. The flow uploads those files to files.dlazy.com so the model can read them, and generated outputs are returned as hosted URLs.
  • It is oriented toward agent execution: async task states, missing-parameter errors, local file errors, unauthorized requests, and insufficient-balance conditions can be detected and surfaced to the user.

Boundaries and notes

This is a cloud-based generation/editing path, not a local offline renderer. Uploaded images and generated output URLs are hosted by dLazy, so usage should align with dLazy service terms and content safety policies. The caller should ensure the organization key is valid and has sufficient credits before treating image generation as a reliable step.

Use Cases

  • Generate 2-4 candidate hero images for a product launch page from a copy brief.
  • Edit a reference logo image into brand-color variants using prompt instructions.
  • Upload a local screenshot in a pipeline and generate an explanatory illustration.
  • Detect insufficient_balance and ask the user to recharge before retrying.

Best For

  • AI application engineers turning product copy into multiple visual candidates.
  • Ops designers needing prompt-based edits on reference brand assets.
  • Backend engineers integrating local images into a cloud generation API.
  • Integration engineers adding auth, balance checks, and error handling.