andreasjansson/image-to-photorealism

Public
237 runs

Run andreasjansson/image-to-photorealism with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
image
string
Input image to upscale and convert to photorealistic
mode
None
flux_kontext
Processing mode
apply_color_matching
boolean
False
Apply color matching to match original image colors
seed
integer
Random seed for reproducible generation
openai_api_key
string
OpenAI API key (required for gpt_image mode)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}