Skip to main content
Use API key authentication for the operations on this page. A model identifies a reusable character or voice. Elements provide additional media references. See the concept guide.

Create a character model

createSIMModelSimplify returns a Model with a creation task. Supply an existing image, or omit the image source and describe the character. Authenticate with Authorization: Bearer <APOB_API_KEY>.
CreateCharacterFromDescription
Variables
Description-based creation generates one reference image in the background and then prepares the same character model. The initial avatar may be null. The full prompt is retained for generation; the model biography stores at most its first 512 characters. Editing that biography later does not change the accepted generation request. The reference image is an internal creation asset, not a separate public gallery submission. An existing image takes precedence over the description. For example:
CreateCharacterFromImage
An invalid supplied image returns an error; it never switches to paid text-based generation. Omitting both an image source and a nonblank description also fails.
Description-based creation uses the normal portrait-image credit and eligible free-generation rules, including configured automatic credit reload. Account model limits, concurrency, visibility eligibility, and moderation still apply. Charges belong to the reference-image task; the returned model task does not aggregate those charges. If the reference image succeeds but model preparation fails, the successful image generation is not automatically refunded.
Keep the returned model ID and use the model query below to check progress. A model ID is acceptance, not completion: wait for task.status: finished and task.progress.finishCode: 0. Failed preparation does not trigger another image generation. This mutation is not request-idempotent; do not automatically repeat it after a lost response or uncertain submission. The separate MCP create_model tool continues to require an image source.

List your ready models

PersonalModels
Variables
Select an image model for image/video workflows and a textSpeech model for voice input. A completed training task must have status: finished and finishCode: 0 before the model is used. isTaskCompletedOnly is a filter; inspect the returned task outcome as well. Set usage to portraitSim for character models or textSpeech for voices. When neither usage nor a nonempty usages list is supplied, personal discovery defaults to portraitSim; it does not list every model type. A supplied usage takes precedence over usages. Personal models are ordered by creation time, newest first, and also support tags and isTaskCompletedOnly filters. Use communityModels under the same account field to discover community models, with usage, tags, and pageFetchingInfo. It defaults to portraitSim and orders by popularity. Personal and community listings accept searchInfo and orderType but do not apply them; isDeleted does not change the personal listing. Visibility and workflow compatibility still apply.

Inspect a model

ModelById
Variables
A missing, deleted, or inaccessible model can return null. An ID alone does not establish permission or readiness.

List your elements

PersonalElements
Variables
Choose image, video, or audio for the exact media type you need. audio does not include video. Omit fileType to read across types. Both personalElements and communityElements filter by category and fileType and accept pageFetchingInfo; community elements are public references. Element lists accept platform but do not filter by it.

Get an element by ID

GetElementById
Variables
getElementById returns the same ElementDetail structure as the list queries. Authentication is optional: an anonymous caller can read public elements, and the owner can also read their private elements. The result is null when the element does not exist, has been deleted, is private and owned by someone else, or the ID is not numeric.

Pagination

For the model and element lists on this page, use PageFetchingInfo.pageSize (default 30) and pageNumber (starting at 1). Increment pageNumber for each page, keep the same filters, and stop when hasMore is false. Although the input type also contains previousId, these lists do not use it as a cursor. The media history uses a separate cursor input and returns nextCursorId.