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

# Generate From Url

> Extract brand identity from a website URL.

Returns a draft that the user can review and edit before saving.
Does NOT create a brand kit — use POST /brand-kits to save.



## OpenAPI

````yaml /openapi.json post /api/v1/brand-kits/generate-from-url
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/brand-kits/generate-from-url:
    post:
      tags:
        - Brand Kits
        - Brand Kits
      summary: Generate From Url
      description: |-
        Extract brand identity from a website URL.

        Returns a draft that the user can review and edit before saving.
        Does NOT create a brand kit — use POST /brand-kits to save.
      operationId: generate_from_url_api_v1_brand_kits_generate_from_url_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrandKitGenerateFromUrlRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandKitGenerateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    BrandKitGenerateFromUrlRequest:
      properties:
        url:
          type: string
          maxLength: 500
          minLength: 5
          title: Url
        kit_type:
          type: string
          pattern: ^(personal|business)$
          title: Kit Type
          default: business
      type: object
      required:
        - url
      title: BrandKitGenerateFromUrlRequest
    BrandKitGenerateResponse:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        brand_voice:
          anyOf:
            - type: string
            - type: 'null'
          title: Brand Voice
        tone_keywords:
          items:
            type: string
          type: array
          title: Tone Keywords
        target_audience:
          anyOf:
            - type: string
            - type: 'null'
          title: Target Audience
        logo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Url
        logo_icon_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Icon Url
        logo_dark_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Dark Url
        logo_square_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Square Url
        logo_wordmark:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Wordmark
        logo_wordmark_font:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Wordmark Font
        primary_color:
          anyOf:
            - type: string
            - type: 'null'
          title: Primary Color
        secondary_color:
          anyOf:
            - type: string
            - type: 'null'
          title: Secondary Color
        accent_color:
          anyOf:
            - type: string
            - type: 'null'
          title: Accent Color
        color_palette:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Color Palette
        font_headings:
          anyOf:
            - type: string
            - type: 'null'
          title: Font Headings
        font_body:
          anyOf:
            - type: string
            - type: 'null'
          title: Font Body
        imagery_style:
          anyOf:
            - type: string
            - type: 'null'
          title: Imagery Style
        tagline:
          anyOf:
            - type: string
            - type: 'null'
          title: Tagline
        mission_statement:
          anyOf:
            - type: string
            - type: 'null'
          title: Mission Statement
        industry:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry
        competitors:
          items:
            type: string
          type: array
          title: Competitors
        seo_keywords:
          items:
            type: string
          type: array
          title: Seo Keywords
        content_pillars:
          items:
            type: string
          type: array
          title: Content Pillars
        social_links:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Social Links
        social_profiles:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Social Profiles
        location:
          anyOf:
            - type: string
            - type: 'null'
          title: Location
        website_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Website Url
      type: object
      title: BrandKitGenerateResponse
      description: >-
        Draft brand kit data extracted from URL or uploaded file — not yet
        saved.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````