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

# SP 提交真人加白

> 提交真人图片素材进行加白处理，完成后可用于 SP 经济版视频生成。

提交真人图片素材进行加白处理。处理完成后可用于 SP 经济版视频生成中的真人参考。

## 流程

1. 调用本接口提交真人图片 URL
2. 使用返回的 `asset_id` 轮询 [查询真人加白状态](/zh/api-reference/seedance/sp/realperson-status)
3. 状态变为 `Active` 后，使用 `asset_ref` 或 `asset://{asset_id}` 在 [SP 创建视频](/zh/api-reference/seedance/sp/create) 中引用

## 请求参数

| 字段     | 类型     | 必填 | 说明         |
| ------ | ------ | -- | ---------- |
| `name` | string | 是  | 真人素材名称     |
| `url`  | string | 是  | 真人图片公网 URL |

## 请求示例

```bash theme={null}
curl -X POST 'https://www.jimmyai.cn/api/open-api/v1/seedance/sp/realperson/submit' \
  -H 'Authorization: Bearer sk_xxx' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "模特正面照",
    "url": "https://example.com/portrait.jpg"
  }'
```

## 响应示例

```json theme={null}
{
  "code": 0,
  "msg": "ok",
  "data": {
    "asset_id": "official_id_xxx",
    "status": "Processing",
    "asset_ref": null,
    "name": "模特正面照",
    "url": "https://example.com/portrait.jpg"
  }
}
```

提交成功后 `status` 通常为 `Processing`，`asset_ref` 在处理完成前为 `null`。


## OpenAPI

````yaml POST /api/open-api/v1/seedance/sp/realperson/submit
openapi: 3.1.0
info:
  title: Jimmy AI OpenAPI
  description: API for Jimmy AI video generation services
  version: 1.0.0
servers:
  - url: https://www.jimmyai.cn
    description: Production server
security:
  - bearerAuth: []
paths:
  /api/open-api/v1/seedance/sp/realperson/submit:
    post:
      summary: SP Submit Real-Person Whitelist
      description: >-
        Submit a real-person portrait for whitelist processing on the SP economy
        route.
      operationId: submitSeedanceSpRealPerson
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SeedanceSpRealPersonSubmitRequest'
      responses:
        '200':
          description: Submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SeedanceSpRealPersonResponse'
components:
  schemas:
    SeedanceSpRealPersonSubmitRequest:
      type: object
      required:
        - name
        - url
      properties:
        name:
          type: string
          description: Real-person asset name
        url:
          type: string
          description: Public portrait image URL
    SeedanceSpRealPersonResponse:
      type: object
      properties:
        code:
          type: integer
          example: 0
        msg:
          type: string
          example: ok
        data:
          type: object
          properties:
            asset_id:
              type: string
            official_id:
              type: string
            status:
              type: string
              description: Processing / Active / Failed
            asset_ref:
              type: string
              description: Reference usable in video create requests
            name:
              type: string
            url:
              type: string
            created_at:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````