+api: {"tags":["Image-to-Text"],"description":"Process an image and generate descriptive text based on its content.","operationId":"image_to_text_api_image_2_text_v1_post","requestBody":{"content":{"application/json":{"schema":{"properties":{"image_url":{"type":"string","title":"Image URL","description":"URL of the image to be processed"},"prompt_type":{"type":"string","title":"Prompt Type","description":"Type of analysis to perform","enum":["Other","Product","Scene"]},"custom_prompt":{"type":"string","title":"Custom Prompt","description":"Custom instructions for text generation"}},"type":"object","required":["image_url","prompt_type"],"title":"ImageToTextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"text":{"type":"string","title":"Text","description":"Generated text description of the image"}},"type":"object","required":["text"],"title":"ImageToTextResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}],"method":"post","path":"/image-2-text-v1","servers":[{"url":"https://api.wordlift.io","description":"WordLift Image-to-Text API"}],"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"authorization"}},"jsonRequestBodyExample":{"image_url":"https://example.com/path/to/image.jpg","prompt_type":"Other","custom_prompt":"Generate concise and descriptive text for the image"},"info":{"title":"WordLift Image-to-Text API","description":"API for converting images into text descriptions using AI technology.","version":"1.0.0"},"postman":{"name":"Convert Image to Text","description":{"content":"Process an image and generate descriptive text based on its content.","type":"text/plain"},"url":{"path":["image-2-text-v1"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"authorization","key":"key"},{"type":"any","value":"<API Key>","key":"value"},{"type":"any","value":"header","key":"in"}]}}}
0 commit comments