LovPics Settings API

The settings API from LovPics — 1 operation(s) for settings.

GitHub OpenAPI

Operations 1

POST /api/settings/save Save Settings #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lovpics-com:lovpics-com-settings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lovpics-com-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Virtual Studio Settings API
  version: 0.1.0
tags:
- name: Settings
paths:
  /api/settings/save:
    post:
      tags:
      - Settings
      summary: Save Settings
      description: 'Save generation settings to the settings table.


        This endpoint allows users to manually save their current settings

        without generating images.


        Args:

        request: SaveSettingsRequest containing setting type and settings data

        current_user: Current authenticated user


        Returns:

        SaveSettingsResponse with success status


        Raises:

        HTTPException: If saving fails'
      operationId: save_settings_api_settings_save_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveSettingsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SaveSettingsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    SaveSettingsRequest:
      properties:
        stg_type:
          type: integer
          title: Stg Type
          description: 'Setting type: 1=apparel, 2=product, 3=design, 4=reimagine'
        settings_data:
          additionalProperties: true
          type: object
          title: Settings Data
          description: Settings data to save
        creative_ids:
          anyOf:
          - items:
              type: integer
            type: array
          - type: 'null'
          title: Creative Ids
          description: Optional list of creative IDs (crt_id) generated with these settings in the current session
        stg_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Stg Name
          description: Name for the saved settings
      type: object
      required:
      - stg_type
      - settings_data
      title: SaveSettingsRequest
      description: Request model for saving settings.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SaveSettingsResponse:
      properties:
        ok:
          type: boolean
          title: Ok
        message:
          type: string
          title: Message
      type: object
      required:
      - ok
      - message
      title: SaveSettingsResponse
      description: Response model for saving settings.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer