DataDungeon::Recipe
Inherits JSON::Serializable < Struct < Value < Object
How an asset was made, in the shape every app shares (DESIGN-recipes.md):
its form, the settings it was made with, what its provider was sent (the
prompt, and for speech and text the instructions beside it), the named
wordings that went into that, and what's its own (seed, cost, when, the
files it was made from). An asset made in steps has a recipe per step
(steps).
Constants
What a recipe makes; empty for a step without a prompt (a matte, a
depth map) or for a recipe made of steps.
A wording's version is this many hex characters of its words' SHA-256 (40 bits), so it names the same words in every store.
Constructors
A recipe made of steps, each a recipe of its own, in order.
Class methods
The version of these words: the start of their SHA-256, in hex.
Instance methods
Raises ArgumentError for a recipe that isn't in the standard shape: among others, a wording whose words aren't in what was sent, word for word.
How the cost was reached: the service's own bill (reported: runware),
priced from a rate table (priced: arcana-ai 0.5.2), or estimated.
The provider's second input, beside the prompt: a voice's instructions, a text step's instructions. A picture has none.
What the provider was sent: a picture's prompt, the words a speech step speaks, a text step's input.