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

# Write listing image ideas

> Writes a fresh set of up to nine image ideas for a marketplace and answers once they are saved, which can take up to a minute. It replaces the saved ideas; a slot that already has an image keeps it. Free.



## OpenAPI

````yaml /api/openapi.yaml post /amazon-listing-ideas
openapi: 3.1.0
info:
  title: LocalAds API
  version: 1.0.0
  description: Public API for LocalAds customer integrations.
servers:
  - url: https://makelocalads.com/api/v1
security:
  - apiKey: []
tags:
  - name: Account
    description: Your organization, balance and prices.
  - name: Set up
    description: Brands, products, audiences and image uploads.
  - name: Ad campaigns
    description: Campaigns and their creatives.
  - name: Listing images
    description: Amazon listing image ideas and renders.
  - name: Photoshoots
    description: Photoshoots, templates and moodboards.
  - name: ChatGPT ads
    description: ChatGPT ad groups and ads.
  - name: UGC videos
    description: Recipes, concepts, voices and videos.
  - name: Creatives
    description: The cross-type list of finished images and videos.
paths:
  /amazon-listing-ideas:
    post:
      tags:
        - Listing images
      summary: Write listing image ideas
      description: >-
        Writes a fresh set of up to nine image ideas for a marketplace and
        answers once they are saved, which can take up to a minute. It replaces
        the saved ideas; a slot that already has an image keeps it. Free.
      operationId: createAmazonListingIdeas
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - product_id
                - marketplace
              properties:
                product_id:
                  type: string
                  format: uuid
                marketplace:
                  type: string
                  description: An `id` from GET /amazon-marketplaces.
            example:
              product_id: a1516a75-9be5-461a-93af-c1896a0a3127
              marketplace: us
      responses:
        '201':
          description: The saved ideas.
          headers:
            Location:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AmazonListingIdeaList'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    AmazonListingIdeaList:
      type: object
      required:
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AmazonListingIdea'
    AmazonListingIdea:
      type: object
      required:
        - id
        - product_id
        - marketplace
        - position
        - slot_type
        - title
        - summary
        - creative_id
        - status
        - image_url
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        product_id:
          type: string
          format: uuid
        marketplace:
          type: string
        position:
          type: integer
          description: 0 is the main image; 1 to 8 are variants.
        slot_type:
          type: string
          enum:
            - main
            - variant
        title:
          type: string
          example: MAIN IMG
        summary:
          type: string
          description: The direction the image is rendered from.
        creative_id:
          type:
            - string
            - 'null'
          format: uuid
          description: The slot's current image, once one has been started.
        status:
          type: string
          enum:
            - idea
            - queued
            - in_progress
            - completed
            - failed
            - canceled
          description: '`idea` until an image is started.'
        image_url:
          type:
            - string
            - 'null'
          format: uri
        updated_at:
          type: string
          format: date-time
    Problem:
      type: object
      required:
        - type
        - title
        - status
        - detail
        - code
        - request_id
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        code:
          type: string
        request_id:
          type: string
  responses:
    BadRequest:
      description: Invalid request.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Forbidden:
      description: >-
        The API key lacks the required permission (`insufficient_permission`),
        the organization's plan does not include API access
        (`plan_upgrade_required`; Pro and Enterprise only), or the organization
        is suspended (`org_suspended`).
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    NotFound:
      description: Resource not found.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    RateLimited:
      description: API key rate limit exceeded.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: lads_...

````