Context
The current ImagesResource.generate() uses a custom request/response schema. mega-nova-api is standardizing on OpenAI-compatible format (MeganovaAI/mega-nova-api#434). The SDK should align.
Current State
- Request params:
prompt, model, width, height, num_steps, guidance_scale, seed
- Response:
ImageGenerationResponse(data: List[GeneratedImage]) where GeneratedImage(b64_json, revised_prompt)
Required Changes
Backward Compatibility
Keep existing params working — width=1024, height=1024 maps to size='1024x1024' internally.