Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Pipixia Short URL Conversion

API दस्तावेज़
https://api.sandbase.ai/v1/api/pipixia/app/short-url

Returns a shortened link for a specified web address. Takes an original web link as input and converts it into a Pipixia-compatible short URL format.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 0 वैकल्पिक

प्लेग्राउंड

इनपुट
Original URL, can be any link.
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 157 B · 10 पंक्तियाँ
[
  {
    "data": {
      "message": "Server Internal Error",
      "prompt": "操作失败,请重试",
      "status_code": 10000,
      "time": 1787218849438
    }
  }
]

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

API README

Pipixia Short URL Conversion API

Returns a Pipixia short URL for a web address you send. It needs one input, original_url, which can be any link.

Use cases

  • Shorten a Pipixia post link such as https://h5.pipix.com/item/7385813877985909043 before sharing it in a message or caption.
  • Convert external web addresses into the https://h5.pipix.com/s/ short format.
  • Batch-generate compact links for a list of posts in a campaign report or share sheet.

Request

curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/short-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"original_url": "https://h5.pipix.com/item/7385813877985909043"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
original_urlstringYesOriginal URL, can be any link.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "short_url": "https://h5.pipix.com/s/rFYPVXgqO3o/"
  },
  "message": "success",
  "prompt": "",
  "status_code": 0,
  "time": 1793691714055
}

Response fields

FieldMeaning
data.short_urlThe shortened link for the original_url you sent. It uses the https://h5.pipix.com/s/<code>/ format.
status_codeResult code of the call. 0 means the call succeeded.
messageShort status text. It reads success when the call works.
promptExtra prompt text. It is an empty string in the sample response.
timeNumeric timestamp in the response. The sample value 1793691714055 has 13 digits.

Notes

  • Send original_url as a full address that starts with https://. A Pipixia post link has the form https://h5.pipix.com/item/<post id>.
  • Read the result from data.short_url. Check that status_code is 0 before you use it.
  • To look up the post behind a link, call Pipixia Post Detail with the post ID from the /item/ path.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Pipixia$0.001 प्रति कॉलJSON
Pipixia$0.001 प्रति कॉलJSON
Pipixia$0.001 प्रति कॉलJSON
Pipixia$0.001 प्रति कॉलJSON
Pipixia$0.001 प्रति कॉलJSON
Pipixia$0.001 प्रति कॉलJSON

गाइड्स:Best Pipixia API in 2026: Pricing Compared

प्रश्न

FAQ

Pipixia Short URL Conversion API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/pipixia/app/short-url पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Pipixia Short URL Conversion API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Pipixia Short URL Conversion API कौन-से parameters स्वीकार करती है?

आवश्यक: original_url (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Pipixia Short URL Conversion API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Pipixia developer account या API key चाहिए?

नहीं। Pipixia Short URL Conversion SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Pipixia API access के लिए आवेदन करने की आवश्यकता नहीं है।