mcai/urpm-v1.3-img2img

Generate a new image from an input image with URPM v1.3

  • Public
  • 2.1K runs

Run urpm-v1.3-img2img 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
Inital image to generate variations of.
prompt
string
Input prompt
negative_prompt
string
disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
Specify things to not see in the output
strength
number
0.5

Max: 1

Strength of the noise
upscale
number
1

Min: 1

Max: 4

Upscale factor
num_outputs
integer
1

Min: 1

Max: 4

Number of images to output.
num_inference_steps
integer
30

Min: 1

Max: 500

Number of denoising steps
guidance_scale
number
7.5

Min: 1

Max: 20

Scale for classifier-free guidance
scheduler
string (enum)
EulerAncestralDiscrete

Options:

UniPCMultistep, DDPM, DDIM, PNDM, LMSDiscrete, EulerDiscrete, EulerAncestralDiscrete, DPMSolverMultistep, HeunDiscrete

Choose a scheduler.
seed
integer
Random seed. Leave blank to randomize the seed

Output schema

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

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}
Example API response
View prediction
['https://replicate.delivery/pbxt/5cVeicbZ2S1KUa5HL6PBYS4o2OfL614xZFcD2dSUVkBCDFCRA/out-0.png']