fofr/image-prompts ✓🔢📝 → 📝

▶️ 54.4K runs 📅 Apr 2023 ⚙️ Cog 0.7.0-beta17
midjourney prompt-generation text-generation

About

Generate image prompts for Midjourney. Prefix inputs with "Image: "

Example Output

Prompt:

"Image: a gaugin painting"

Output

Prompt: a gaugin painting, water, the garden at sunset, fenegrean, daffodils, and an island with palm trees, 1950 --ar 3:2

Performance Metrics

1.70s Prediction Time
1.81s Total Time
All Input Parameters
{
  "top_p": 1,
  "prompt": "Image: a gaugin painting",
  "max_length": 100,
  "temperature": 1,
  "repetition_penalty": 1.5
}
Input Parameters
debug Type: booleanDefault: false
provide debugging output in logs
top_p Type: numberDefault: 1Range: 0.01 - 1
When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens
prompt (required) Type: string
Prompt to send to FLAN-T5.
max_length Type: integerDefault: 50Range: 1 - ∞
Maximum number of tokens to generate. A word is generally 2-3 tokens
temperature Type: numberDefault: 0.75Range: 0.01 - 5
Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.
repetition_penalty Type: numberDefault: 1Range: 0.01 - 5
Penalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it.
Output Schema

Output

Type: arrayItems Type: string

Version Details
Version ID
ba4130c13f3f1cd9771bc671bb13eab6ad5d839b2e55723b40742c03ef7f99ff
Version Created
April 26, 2023
Run on Replicate →