# Get Sdk Temporary Token

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/aiart/credentials:
    get:
      summary: Get Sdk Temporary Token
      deprecated: false
      description: ''
      tags:
        - AI Editor SDK
      parameters:
        - name: timeout
          in: query
          description: >-
            Specifies the validity period of the temporary credentials in
            seconds. In this example, timeout=100000 means the credentials will
            be valid for 100,000 seconds.
          required: false
          example: 100000
          schema:
            type: integer
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      token:
                        type: string
                      expire:
                        type: integer
                    required:
                      - token
                      - expire
                    x-apifox-orders:
                      - token
                      - expire
                required:
                  - code
                  - msg
                  - data
                x-apifox-orders:
                  - code
                  - msg
                  - data
              example:
                code: '000'
                msg: success
                data:
                  token: tp_a856e209e112461a8875af62285a888f
                  expire: 1741323814784
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: AI Editor SDK
      x-apifox-status: developing
      x-run-in-apifox: https://app.apifox.com/web/project/5562290/apis/api-267870397-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api-b.fotor.com
    description: 正式环境
security: []

```
