Skip to content

Conversation

@inoribea
Copy link

Summary

Add comprehensive support for nano-banana series models (nano-banana, nano-banana-hd, nano-banana-2) in the DALL-E image generation interface.

Changes

Frontend

  • src/views/mj/aiDall.vue
    • Added nano-banana, nano-banana-hd, and nano-banana-2 to model selection (placed at top of list)
    • Added aspect ratio selection for all banana models (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3)
    • Added image size selection (1K/2K/4K) for nano-banana-2 only
    • Added response format selection (url/b64_json)
    • Added support for multiple reference images (up to 5 images for banana models)
    • Special parameter handling for banana models to ensure correct API calls

Internationalization

  • src/locales/zh-CN.ts - Added Chinese translations:

    • aspectRatio: "宽高比"
    • responseFormat: "返回格式"
    • imageSize: "图片尺寸"
    • nanoBananaSupport: "所有 Banana 模型支持"
    • onlyNanoBanana2: "仅 nano-banana-2 支持"
    • refImages: "参考图"
    • refImagesDesc: "支持多图参考"
  • src/locales/en-US.ts - Added English translations for all above keys

Features

  • ✅ Support for 3 nano-banana model variants
  • ✅ Aspect ratio customization
  • ✅ Image size selection (nano-banana-2 exclusive)
  • ✅ Response format selection
  • ✅ Multiple reference image support
  • ✅ Full i18n support (Chinese & English)

- Add nano-banana, nano-banana-hd, and nano-banana-2 models to DALL-E page
- Support aspect ratio selection for all banana models
- Support image size selection (1K/2K/4K) for nano-banana-2 only
- Support response format selection (url/b64_json)
- Support multiple reference images for banana models
- Add i18n translations for all new parameters (zh-CN and en-US)
@vercel
Copy link

vercel bot commented Dec 30, 2025

@inoribea is attempting to deploy a commit to the dooy's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant