PATCH
https://www.promptbank.club/api/v1/prompts/{promptId}Path Parameters
integer
required
The unique numeric ID of the prompt you want to update.
Request Body
All body fields are optional. Send only what you want to change.string
Updated display name for the prompt. Must be between 1 and 120 characters.
string
Updated prompt text. Must be between 1 and 15,000 characters.
string
Updated prompt modality. Accepted values:
image, text, video.string
Updated platform label.
string
Updated fal.ai model identifier. Must match
^fal-ai/.+ — for example fal-ai/recraft/v4.1/text-to-image. Required if you are changing promptType to image or video and a modelId is not already set.string
Updated output aspect ratio, e.g.
"16:9". Maximum 20 characters.integer
Add the prompt to the vault with this ID. To remove a prompt from a vault, use the vault membership endpoint instead.
string
Updated URI for the image associated with this prompt.
array
Replacement array of up to 10 reference media URIs. This overwrites the existing list entirely.
Example Request
Example Response
updatedAt reflects the timestamp of this change.