Copy library / What got built / Grok Bot
Forum: GenerateImage aspect_ratio ignored (always 1280×720)
Title and summary are in the original language, not translated.
# Forum: GenerateImage aspect_ratio ignored (always 1280×720) Source: https://forum.cursor.com/t/generateimage-accepts-aspect-ratio-but-sand-drops-it-always-returns-1280x720-jpeg/173363 Bug report: Grok Bot/Sand GenerateImage accepts aspect_ratio in the schema but always returns 1280×720 JPEG, dropping the requested ratio.
- What it does
- Bug report: Grok Bot/Sand GenerateImage accepts aspect_ratio in the schema but always returns 1280×720 JPEG, dropping the requested ratio.
- Scenarios
- Reports / briefs Watch PRs / repos
- What the source covers
- Author & original linkYes
- What it doesYes
- Verbatim source excerptYes
- Screenshots / mediaNot in source
- Steps / chaptersNot in source
- Verbatim prompt / configNot in source
- Results / numbersNot in source
- Risk notesYes
- Related entriesYes
— means the source doesn't say; we don't fill it in.
- Verbatim source excerpt
Where does the bug appear (feature/product)? Grok Bot Describe the Bug Bug in Grok Bot / Sand GenerateImage path. The GenerateImage tool schema accepts aspect_ratio (1:1, 4:3, 3:4, 16:9, 9:16). The tool parses the per-call value and passes it as the 5th argument into generateImageService. But createSandGenerateImageService is declared with only 4 parameters (_ctx, description, _filePath, referenceImages) and never forwards aspect_ratio into createSandImageGenerator / RunGenerateImageRequest. Result: every generation comes back as JPEG 1280×720 (16:9), even when the agent requests 9:16, 3:4, or
Show full post
1:1. Files are saved with a .png name but are JFIF/JPEG bytes. C2PA metadata identifies the producer as “Grok Imagine”. We need true vertical 720×1280 (9:16) for social punch images. Prompt wording and retries do not fix this. …RongleCat/awesome-grok-bot (GitHub) · Open original ↗ From the forum's first post, verbatim and untranslated.
- Prompt
The source does not include a prompt you can copy verbatim.
- How to copy
- Read the source: forum.cursor.com ↗
- Turn the steps/prompts from the source into one message for your Bot
- Run it manually once, then decide the frequency
- Risks and limits
- The author's result may not reproduce for you; the original post is the reference
- Usage estimate
- Estimate with the metal calculator