Try the model with a sample request using the same API shape shown in the reference page.
Output format for the generated image
Please upload an image file
Please upload an image file
Please upload an image file
Please upload an image file
Tolerance level for input and output moderation. Between 0 and 5, 0 being most strict, 5 being least strict (Default: 2, 0 ≤ safety_tolerance ≤ 5)
image width in px (Default: 1024, 128 ≤ width ≤ 1920)
image height in px (Default: 1024, 128 ≤ height ≤ 1920)
Choose the tier these requests run on
Tweak the overall style and tone of the conversation by giving some 'master' instructions. (Default: Be a helpful assistant)
Sample from the set of tokens with highest probability such that sum of probabilies is higher than p. Lower values focus on the most probable tokens.Higher values sample more low-probability tokens (Default: 0.9, 0 < top_p ≤ 1)
repetition penalty. Value of 1 means no penalty, values greater than 1 discourage repetition, smaller than 1 encourage repetition. (Default: 1, 0.01 ≤ repetition_penalty ≤ 5)
Sample from the best k (number of) tokens. 0 means off (Default: 0, 0 ≤ top_k < 1000)
maximum length of the newly generated generated text.If explicitly set to None it will be the model's max context length minus input length or 65536, whichever is smaller (Default: empty, 1 ≤ max_new_tokens ≤ 1000000)
A unique identifier representing your end-user, which can help monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers.. (Default: empty)
Float that represents the minimum probability for a token to be considered, relative to the probability of the most likely token. Must be in [0, 1]. Set to 0 to disable this. (Default: 0, 0 ≤ min_p ≤ 1)
Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. (Default: 0, -2 ≤ presence_penalty ≤ 2)
Positive values penalize new tokens based on how many times they appear in the text so far, increasing the model's likelihood to talk about new topics. (Default: 0, -2 ≤ frequency_penalty ≤ 2)
How to format the response
temperature to use for sampling. 0 means the output is deterministic. Values greater than 1 encourage more diversity (Default: 0.7, 0 ≤ temperature ≤ 1)
Text prompt describing the image
You can add more items with the button
random seed, empty means random (Default: empty, 0 ≤ seed < 4294967296)
Adjust settings and run the demo to see the model output generated here in real-time.