# "Phóng to/biến thể bản gốc, nhấn chỉ mục"

Nguồn: https://docs.openaihub.net/api-45208873/

> API origin: `https://api.openaihub.net`. Chọn đúng nhóm API và model. Thông số dưới đây là bản tham chiếu kỹ thuật; chưa phải kết quả kiểm thử từng endpoint bằng tài khoản của bạn.


## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /mj/submit/change:
    post:
      summary: Phóng to/biến thể bản gốc, nhấn chỉ mục
      deprecated: false
      description: >-
        Dịch chuyển (mở rộng theo hướng) hoặc Thu nhỏ (mở rộng khung vẽ) trên
        một hình ảnh hiện có.
      operationId: mj_submit_change
      tags:
        - OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Hình ảnh/Midjourney/Gửi tác vụ
        - Midjourney
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - taskId
                - action
              properties:
                action:
                  type: string
                  enum:
                    - PAN_LEFT
                    - PAN_RIGHT
                    - PAN_UP
                    - PAN_DOWN
                    - ZOOM_OUT_2X
                    - ZOOM_OUT_1_5X
                  description: Loại hành động
                notifyHook:
                  type: string
                  description: URL gọi lại
                state:
                  type: string
                  description: Trạng thái chuyển tiếp tùy chỉnh
                taskId:
                  type: string
                  description: ID tác vụ gốc
              refName: PostMjSubmitChangeRequest
              x-apifox-orders:
                - action
                - notifyHook
                - state
                - taskId
              x-apidog-orders:
                - action
                - notifyHook
                - state
                - taskId
            examples:
              changepan_zoom_single:
                value:
                  action: PAN_RIGHT
                  taskId: '1743326750223591'
                summary: changepan_zoom_single
                description: Gửi tác vụ Thay đổi (Di chuyển/Thu phóng)
      responses:
        '200':
          description: thành công
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: >-
                      Mã trạng thái: 1=đã gửi, 21=đang chờ, 22=đã tồn tại,
                      24=tham số không hợp lệ
                    examples:
                      - 1
                  description:
                    type: string
                    description: Mô tả trạng thái
                    examples:
                      - Gửi thành công
                  properties:
                    type: object
                    description: Thuộc tính mở rộng
                    x-apidog-orders: []
                  result:
                    type: string
                    description: Mã tác vụ
                    examples:
                      - '1743326750223591'
                refName: MjSubmitResponse
                x-apifox-orders:
                  - code
                  - description
                  - properties
                  - result
                x-apidog-orders:
                  - code
                  - description
                  - properties
                  - result
              examples:
                example:
                  summary: example
                  value:
                    code: 1
                    description: Gửi thành công
                    properties: {}
                    result: '1743326750223591'
          headers: {}
          x-apidog-name: thành công
        '400':
          description: Yêu cầu không hợp lệ hoặc xác thực thất bại
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - message
                      - type
                    properties:
                      message:
                        type: string
                        description: Thông báo lỗi (thường kết thúc bằng mã yêu cầu)
                      type:
                        type: string
                        description: Loại lỗi; các lỗi cổng cục bộ thường là new_api_error
                        examples:
                          - new_api_error
                    x-apifox-orders:
                      - message
                      - type
                    x-apidog-orders:
                      - message
                      - type
                refName: NewApiError
                x-apifox-orders:
                  - error
                x-apidog-orders:
                  - error
              examples:
                example:
                  summary: example
                  value:
                    error:
                      message: >-
                        Yêu cầu không hợp lệ (mã yêu cầu:
                        20260805120000123456789AbCdEfGh)
                      type: new_api_error
          headers: {}
          x-apidog-name: Yêu cầu không hợp lệ hoặc xác thực thất bại
        '401':
          description: Khóa API bị thiếu hoặc không hợp lệ
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - message
                      - type
                    properties:
                      message:
                        type: string
                        description: Thông báo lỗi (thường kết thúc bằng mã yêu cầu)
                      type:
                        type: string
                        description: Loại lỗi; các lỗi cổng cục bộ thường là new_api_error
                        examples:
                          - new_api_error
                    x-apifox-orders:
                      - message
                      - type
                    x-apidog-orders:
                      - message
                      - type
                refName: NewApiError
                x-apifox-orders:
                  - error
                x-apidog-orders:
                  - error
              examples:
                example:
                  summary: example
                  value:
                    error:
                      message: >-
                        Mã thông báo không hợp lệ (request id:
                        20260805120000123456789AbCdEfGh)
                      type: new_api_error
          headers: {}
          x-apidog-name: Khóa API bị thiếu hoặc không hợp lệ
      security: []
      x-apidog-folder: OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Hình ảnh/Midjourney/Gửi tác vụ
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45208873-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.openaihub.net
    description: Prod Env
security: []

```
