MJ
Constants
FLUX1_MODELS = ["runware:100@1", "runware:101@1"]
FLUX.1 schnell and dev, on Runware. Kontext models are editors that take any size, so they aren't here.
NANO_DIMENSIONS = [{1024, 1024}, {1376, 768}, {768, 1376}, {1548, 672}, {1584, 672}, {1200, 896}, {896, 1200}, {1264, 848}, {848, 1264}]
Supported OUTPUT sizes for Nano Banana (google:4@x / Gemini image). The model rejects any other size with a 400 whose body lists its full supported set. These are the pairs we've confirmed valid in practice. ⚠ 1344×768 and 1536×672 are REJECTED — use 1376×768 and 1548×672 / 1584×672. (Reference INPUT images can be any size; only the requested OUTPUT w/h are fixed.)
VERSION = "0.13.4"
Class methods
Nearest supported Nano output size to the requested aspect ratio.
Nested types
- MJ::App
- MJ::Arcana
- MJ::BackdropLibrary
- MJ::Base
- MJ::BaseSpec
- MJ::BusService
- MJ::CanvasUtil
- MJ::Config
- MJ::ControlNetParam
- MJ::ControlNetPresets
- MJ::CutStore
- MJ::Cyclorama
- MJ::CycloramaSpec
- MJ::Database
- MJ::Decorate
- MJ::DecorateSpec
- MJ::Diorama
- MJ::Flipbook
- MJ::FrameChain
- MJ::FrameMetadata
- MJ::FrameSpec
- MJ::FrameStore
- MJ::GenerationRequest
- MJ::GenerationResult
- MJ::Generator
- MJ::ImageSniff
- MJ::KeyframeSpec
- MJ::Keypoint
- MJ::Matte
- MJ::MotionScript
- MJ::Onnx
- MJ::OpenAIClient
- MJ::PixelSpec
- MJ::Pixelize
- MJ::Pose
- MJ::PoseRenderer
- MJ::Prop
- MJ::PropLibrary
- MJ::PropSpec
- MJ::RenderJob
- MJ::Renderer
- MJ::Retry
- MJ::Routes
- MJ::RunwareClient
- MJ::Scene
- MJ::SceneLibrary
- MJ::ScriptSettings
- MJ::Sfx
- MJ::Spend
- MJ::StripBuilder
- MJ::StripScript
- MJ::WebGuard
- MJ::Webp