Request generationpost https://ai.api.nvidia.com/v1/genai/stabilityai/stable-diffusion-3-mediumBody Paramsaspect_ratiostringenumDefaults to 1:1Controls the aspect ratio of the generated image.1:116:99:165:44:53:22:3Allowed:1:116:99:165:44:53:22:3cfg_scalenumber≤ 9Defaults to 5The scale of classifier free guidance. Classifier free guidance is an approach that allows users to specify the alignment of the input prompts and negative prompts to the output image. Lower classifier free guidance will result in more diverse but less aligned outputs, while higher classifier free guidance will generate more less diverse but more aligned outputs.modestringenumDefaults to text-to-imageControls the generation mode. Only mode=text-to-image is supportedtext-to-imageAllowed:text-to-imagemodelstringenumDefaults to sd3The model to use for generation. Only model=sd3 is supportedsd3Allowed:sd3negative_promptstringnulllength ≤ 10000A blurb of text describing what you do not wish to see in the output image. This is an advanced feature.output_formatstringenumDefaults to jpegDictates the content-type of the generated image.jpegAllowed:jpegpromptstringrequiredlength ≤ 10000What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.seedinteger≥ 0Defaults to 0The seed which governs generation. Changing the seed with other inputs fixed results in different outputs. (Use 0 for a random seed) 0 for a random seedstepsinteger5 to 100Defaults to 50The number of diffusion steps applied to generate an output image. The more steps, the longer the call will take, and up to a point, the higher quality the image will be.Responses 200Successful Response 422Validation ErrorUpdated almost 2 years ago