← Node reference

OpenAI Image

OPENAI_IMAGE

Generate an image and store it as a run file other nodes can attach, upload or publish. Cost is recorded per image in the run trace.

Configuration

  • variableNametextoptional
  • credentialIdcredentialoptional

    Accepts openai.apiKey. Stored encrypted; the value is never returned to the browser or written to a trace.

  • promptlong textoptional
  • modelone ofoptional

    One of: gpt-image-1, dall-e-3

  • sizeone ofoptional

    One of: 1024x1024, 1024x1536, 1536x1024

  • qualityone ofoptional

    One of: standard, hd, low, medium, high

  • filenamelong textoptional

Ports

Inputs

  • main In

Outputs

  • main Out

Execution

Type version
1
Retry
no retry by default
Timeout
engine default
Credentials
openai.apiKey