Skip to content

Built-in image_gen tool should accept explicit parameters: size, quality, output_format, filename/path #20839

@chrm52

Description

@chrm52

What variant of Codex are you using?

CLI

What feature would you like to see?

The current built-in image_gen tool (enabled via [features] image_generation = true) only accepts a single prompt parameter.

This forces users to cram everything into natural language, which is unreliable for:

  • Exact dimensions
  • Output filename / save path
  • Quality settings
  • Format (PNG with real transparency, WebP, etc.)

Current behavior (CLI / App)

Generate a hero banner, save as assets/hero.png

### Additional information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions