Generating TRON-style images from a description

Producing visuals inspired by the distinctive style of TRON based on provided details

Use case example

  • - Artistic renderings reminiscent of the TRON aesthetic
  • - Create a personal book with illustration
  • - Creating images with a similar luminous and futuristic appearance as seen in TRON

Added by: APIForAI

Price per call≈ 0.04

Try it nowAPI information

Try it

Examples

Input

{
"input":{
"prompt":"A futuristic car photo in the ..."
"negative_prompt":
"image":
"mask":
"width":1024
"height":1024
"num_outputs":1
"scheduler":"DDIM"
"num_inference_steps":50
"guidance_scale":7.5
"prompt_strength":0.8
"seed":3704
"refine":"no_refiner"
"high_noise_frac":0.8
"refine_steps":
"apply_watermark":true
"lora_scale":0.6
}
"id":105
}

Output

Image
{
"status":"succeeded"
"output":[
0:"https://rbqktisnztholqojxlaf.s..."
]
"prediction_time":15.511808
}

Input

{
"input":{
"prompt":"A futuristic close-up woman ph..."
"negative_prompt":
"image":
"mask":
"width":1024
"height":1024
"num_outputs":1
"scheduler":"DDIM"
"num_inference_steps":50
"guidance_scale":7.5
"prompt_strength":0.8
"seed":42
"refine":"no_refiner"
"high_noise_frac":0.8
"refine_steps":
"apply_watermark":true
"lora_scale":0.6
}
"id":105
}

Output

Image
{
"status":"succeeded"
"output":[
0:"https://rbqktisnztholqojxlaf.s..."
]
"prediction_time":15.538304
}

Input

{
"input":{
"prompt":"A futuristic woman with a comp..."
"negative_prompt":
"image":
"mask":
"width":1024
"height":1024
"num_outputs":1
"scheduler":"DDIM"
"num_inference_steps":50
"guidance_scale":7.5
"prompt_strength":0.8
"seed":6073
"refine":"no_refiner"
"high_noise_frac":0.8
"refine_steps":
"apply_watermark":true
"lora_scale":0.6
}
"id":105
}

Output

Image
{
"status":"succeeded"
"output":[
0:"https://rbqktisnztholqojxlaf.s..."
]
"prediction_time":15.627166
}

API Information

Input description

prompt string

Input prompt. Needs to contain 'A futuristic [...] in the style of TRN'

Default value: A futuristic car photo in the style of TRN

negative_prompt string

Input Negative Prompt

image uri

Input image for img2img or inpaint mode

mask uri

Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.

width integer

Width of output image

Default value: 1024

height integer

Height of output image

Default value: 1024

num_outputs integer

Number of images to output.

Default value: 1

scheduler string

An enumeration.

Default value: DDIM

Enum values: DDIM, DPMSolverMultistep, HeunDiscrete, KarrasDPM, K_EULER_ANCESTRAL, K_EULER, PNDM

num_inference_steps integer

Number of denoising steps

Default value: 50

guidance_scale number

Scale for classifier-free guidance

Default value: 7.5

prompt_strength number

Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image

Default value: 0.8

seed integer

Random seed. Leave blank to randomize the seed

refine string

An enumeration.

Default value: no_refiner

Enum values: no_refiner, expert_ensemble_refiner, base_image_refiner

high_noise_frac number

for expert_ensemble_refiner, the fraction of noise to use

Default value: 0.8

refine_steps integer

for base_image_refiner, the number of steps to refine, defaults to num_inference_steps

apply_watermark boolean

Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.

Default value: true

lora_scale number

LoRA additive scale.

Default value: 0.6

Output JSON Schema

This represents the JSON schema that details the structure of the model's output.

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

APIForAI

Build fast by accessing AI models easily