Skip to main content
Partially update an existing prompt. You only need to include the fields you want to change — any fields you omit remain exactly as they are. This makes it easy to rename a prompt, adjust an aspect ratio, or swap out the model without having to re-send the entire object.
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

A successful update returns HTTP 200 OK with the full, updated prompt object. Note that updatedAt reflects the timestamp of this change.