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

# NovelAI Result Fetch API Documentation

> Use the NovelAI fetch API to retrieve image generation task status, output URLs, and response payloads for asynchronous image workflows.



## OpenAPI

````yaml openapi/en/novel.json get /novelai/fetch
openapi: 3.1.0
info:
  title: Novel API DOCS
  version: 1.0.0
  description: TTAPI Novel AI API service
servers:
  - url: https://api.ttapi.io
security: []
paths:
  /novelai/fetch:
    get:
      description: Query current task generation results by jobId
      parameters:
        - name: jobId
          in: query
          required: true
          schema:
            type: string
          description: Job ID of the generated task
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - PENDING_QUEUE
                      - ON_QUEUE
                      - SUCCESS
                      - FAILED
                  message:
                    type: string
                    description: Response message
                  jobId:
                    type: string
                    description: Task ID
                  data:
                    type: object
                    description: Task result
                    properties:
                      finishTime:
                        type: string
                        description: Completion time
                      imageUrl:
                        type: string
                        description: >-
                          Image URL. Validity: see [Storage and
                          Persistence](/grids/en/faq/storage)
                      prompt:
                        type: string
                        description: Prompt
                      quota:
                        type: string
                        description: Quota consumed
                      hookUrl:
                        type: string
                        description: Callback URL
                example:
                  data:
                    finishTime: '2026-02-12 09:09:11'
                    hookUrl: null
                    imageUrl:
                      - https://cdn.ttapi.io/xxx1.png
                      - https://cdn.ttapi.io/xxx2.png
                    prompt: >-
                      1 young woman, professional talent service specialist,
                      warm dark brown eyes, sleek black hair styled in a neat
                      shoulder-length straight bob with soft side-swept bangs,
                      wearing a tailored light blue blazer over a crisp white
                      silk blouse, navy blue slim-fit dress pants, a small
                      delicate silver wristwatch on the left wrist, a
                      professional ID badge clipped to the lapel, black leather
                      low-heeled pumps, gentle and approachable smile, friendly
                      and professional appearance,solo,face front,full
                      body,standing,full shot, white background, simple
                      background, simple shadow,masterpiece, best quality,very
                      aesthetic
                    quota: '4.00'
                  jobId: 3b178ca1-78ee-41c1-94d7-3464b27a2439
                  message: success
                  status: SUCCESS
                required:
                  - status
                  - message
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
      security:
        - CustomApiKey: []
components:
  responses:
    400Response:
      description: Parameter error
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: FAILED
              message:
                type: string
                example: '"prompt" cannot be empty.'
              data:
                type: object
            required:
              - status
              - message
    401Response:
      description: Authorization failed
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: FAILED
              message:
                type: string
                example: Wrong TT-API-KEY or email is not activated.
            required:
              - status
              - message
  securitySchemes:
    CustomApiKey:
      type: apiKey
      in: header
      name: TT-API-KEY
      description: >-
        You can obtain your API key from the <a
        href='https://dashboard.ttapi.io' target='_blank'>TTAPI Dashboard</a>.

````