Estimate Generation
The generation estimate endpoint lets users estimate the number of credits required for a particular generation. With this endpoint, users can send a payload containing their preferred parameters. In return, they will receive the credit cost for processing the generation request and the current balance.
Headers
API key needed to access our public endpoints. You can find yours under the 'Account' section of the website
Body
The aspect ratio of the image for the generation
1:1
, 2:3
, 3:2
, 4:5
, 16:9
, 9:16
The batch size of the generation (Max permissible value depends on your subscription plan). Visit RenderNet pricing for more details
AI guidance for this generation. Higher the value, the output will be closer to the prompt (but may result in distorted images after a point)
If you want to create images of a character, use the character’s name in the positive prompt. Example: {character_name} riding a bike
The control net(pose control) for the generation if you want to use (optional)
The face you want to restore for the generation if you want to use (optional)
Query the list resources endpoint GET /pub/v1/loras
to view all available LoRAs. You can add multiple LoRAs to a single generation. Make sure your LoRAs have the same base model (SD 1.5 / SDXL) as your selected style/model.
Query the list models endpoint GET /pub/v1/models
to view all available models.
For Narrator generation, pass either script
or audio_asset_id
along with other required details in narrator
payload.
The prompt for the generation
The quality of the image for the generation (Case Sensitive)
Plus
, Regular
The sampler you want to use for the generation (Case Sensitive)
DPM++ 2M Karras
, DPM++ 2M SDE Karras
, DPM++ 2S a Karras
, DPM++ SDE
, DPM++ SDE Karras
, Euler a
The seed for the generation (randomized if you don't want to use a seed)
Changes the input asset image based on the find and replace prompts
The number of steps you want AI to take for the generation
Query the list styles endpoint GET /pub/v1/styles
to view all available styles.
Enhances and upscales the input image passed in the asset_id
Response
The error if the request was not successful
Was this page helpful?