fofr / image-prompts

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

  • Public
  • 54K runs
  • T4

Input

*string
Shift + Return to add a new line

Prompt to send to FLAN-T5.

integer
(minimum: 1)

Maximum number of tokens to generate. A word is generally 2-3 tokens

Default: 50

number
(minimum: 0.01, maximum: 5)

Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.

Default: 0.75

number
(minimum: 0.01, maximum: 1)

When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens

Default: 1

number
(minimum: 0.01, maximum: 5)

Penalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it.

Default: 1

boolean

provide debugging output in logs

Default: false

Output

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

Run time and cost

This model costs approximately $0.040 to run on Replicate, or 25 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia T4 GPU hardware. Predictions typically complete within 3 minutes. The predict time for this model varies significantly based on the inputs.