twitter/web/user-media
Get user media. This capability focuses on twitter (twitter web) workflows centered on get user media.
Input
Cursor, default is None, used for paging, obtained from the `next_cursor` in the last request
User ID, for example: 44196397, if the user ID is used, the username will be ignored, only one of them can be selected.
Screen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk
Idle
Example output — click Run to generate your own
Production endpoint
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
POST
https://api.sandbase.ai/v1/runModel ID
twitter/web/user-media01
Input Schema
3 parameters · 1 required · 2 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
screen_name | string | Required | Screen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk |
cursor | string | Optional | Cursor, default is None, used for paging, obtained from the `next_cursor` in the last request |
rest_id | integer | Optional | User ID, for example: 44196397, if the user ID is used, the username will be ignored, only one of them can be selected. |
02
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
03
Code Examples
Ready-to-run snippets
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "twitter/web/user-media",
"prompt": "a beautiful sunset over mountains"
}'API README
Get user media
Get user media. This capability focuses on twitter (twitter web) workflows centered on get user media. It is suitable for twitter workflows.
Capability
Get user media. This capability focuses on twitter (twitter web) workflows centered on get user media. It helps applications, agents, and automated workflows turn that capability into repeatable tasks and useful downstream experiences.
Common use cases
- Enrich profiles, accounts, and business records with structured context.
- Build media monitoring, content intelligence, and publishing-support workflows.
- Create repeatable integrations that pass structured results to downstream business systems.
