Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

nano banana text to image in Atlas AI

v1.0.1

Generates images from text prompts using AtlasCloud Nanobanana 2 model, requiring an AtlasCloud API token and specific JSON parameters without media_resolution.

0· 99· 2 versions· 0 current· 0 all-time· Updated 18h ago· MIT-0

Atlas Nanobanana Text-to-Image 🍌

Generates images using the AtlasCloud Nanobanana 2 model (google/nano-banana-2/text-to-image).


Token Setup

Before generating images, you need the user's AtlasCloud API token.

  • Check memory for atlascloud_token.
  • If not found, ask the user: "Please provide your AtlasCloud API token to get started."
  • Save the token to memory as atlascloud_token so it is not needed again.

How to Generate an Image

Step 1: Write the params to {baseDir}/params.json.

Step 2: Run the script:

node {baseDir}/generate.js <TOKEN> {baseDir}/params.json

Step 3: In the script output, find the line that starts with IMAGE_URL: between the two rows of = signs:

============================================================
IMAGE_URL: https://atlas-media.oss-us-west-1.aliyuncs.com/images/xxxx.png
============================================================

⚠️ CRITICAL: Use exactly the URL that appears in the IMAGE_URL: line of this execution. Never use a URL from the conversation history, previous executions, or memory. Each execution generates a different URL.

Report this URL to the user.


params.json — Payload Correto

⚠️ IMPORTANT: Never include media_resolution in the payload — it causes an HTTP 500 error.

{
  "prompt": "descrição detalhada da imagem",
  "aspect_ratio": "16:9",
  "output_format": "png",
  "resolution": "2k",
  "enable_base64_output": false,
  "enable_sync_mode": false,
  "enable_web_search": false,
  "enable_image_search": false
}

Available fields

FieldRequiredDefaultOptions
prompt✅ yesany text
aspect_rationo16:91:1
resolutionno2k1k
output_formatnopngpng
enable_web_searchnofalsetrue
enable_image_searchnofalsetrue
enable_sync_modenofalsetrue

NÃO inclua media_resolution — causa erro 500.


Error Handling

ErroCausa provávelSolução
HTTP 500media_resolution presente no payloadRemova media_resolution do params.json
HTTP 500Token inválido ou expiradoSolicitar novo token ao usuário e atualizar memória
Link não atualizaURL lida de lugar erradoBuscar a linha IMAGE_URL: no output desta execução
TimeoutResolução muito altaTentar novamente com "resolution": "1k"
Job failedPrompt inválido ou API instávelSimplificar o prompt e tentar novamente

Quando usar esta skill

  • "Generate an image of..."
  • "Create a picture of..."
  • "Draw a scene with..."
  • "Generate an image of..."
  • "Create a photo of..."
  • "Create an image with prompt..."

Version tags

latestvk97em21yxd48ngazmkhzp4qc0s85p9qa