> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reelevant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Post contentsgenerated backgrounds regenerate

> Queue a background for regeneration, optionally with a
custom prompt: the record goes back to pending under a fresh
`variant`, so the rerun derives a new asset (new fingerprint, new
seed) rather than reading the one it replaces. The old combination
object keeps serving until the copy overwrites it.



## OpenAPI

````yaml https://openapi.production.reelevant.io/v1/render/contents-api post /contents/generated-backgrounds/{id}/regenerate
openapi: 3.0.0
info:
  title: contents-api
  version: 9f2e3645b265d24b99ba456df1daa587464526c8
  description: |-
    # Errors
    | Error code | Message | HTTP status code | Payload |
    | :--- | :--- | :--- | :--- |
    | number | string | 404 |  |
servers:
  - url: https://api.reelevant.com/v2/
    description: production
security: []
paths:
  /contents/generated-backgrounds/{id}/regenerate:
    post:
      tags: []
      description: |-
        Queue a background for regeneration, optionally with a
        custom prompt: the record goes back to pending under a fresh
        `variant`, so the rerun derives a new asset (new fingerprint, new
        seed) rather than reading the one it replaces. The old combination
        object keeps serving until the copy overwrites it.
      operationId: Regenerate
      parameters:
        - name: id
          in: path
          schema:
            type: string
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                prompt:
                  type: string
                  description: |-
                    Generate this combination from this prompt instead of
                    the enumerated one
                  minLength: 1
              additionalProperties: false
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                allOf:
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - success
                    required:
                      - status
                    additionalProperties: false
                  - $ref: '#/components/schemas/InternalResponse'
      security:
        - password_auth: []
components:
  schemas:
    InternalResponse:
      type: object
      properties:
        program:
          type: string
        version:
          type: string
        datetime:
          type: string
        status:
          type: string
        code:
          type: number
        message:
          type: string
        data:
          type: object
          properties: {}
          additionalProperties:
            type: array
            items:
              type: string
      required:
        - program
        - version
        - datetime
        - status
        - message
        - data
      additionalProperties: false
  securitySchemes:
    password_auth:
      type: oauth2
      flows:
        password:
          tokenUrl: https://api.reelevant.com/v2/auth/token
          refreshUrl: https://api.reelevant.com/v2/auth/token
          scopes: {}

````