function uwd_ai_call_gemini( string $prompt ) { $api_key = get_option('uwd_gemini_api_key'); if ( empty($api_key) ) { error_log('Gemini key missing'); return false; } $url = 'https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent?key=' . $api_key; $response = wp_remote_post($url, [ 'headers' => [ 'Content-Type' => 'application/json', ], 'body' => json_encode([ 'contents' => [[ 'parts' => [[ 'text' => $prompt ]] ]] ]), 'timeout' => 30, ]); if ( is_wp_error($response) ) { error_log('Gemini WP Error: ' . $response->get_error_message()); return false; } $body = wp_remote_retrieve_body($response); error_log('Gemini Raw Response: ' . $body); $json = json_decode($body, true); return $json['candidates'][0]['content']['parts'][0]['text'] ?? false; } Upwork Investment

Upwork Investment Dashboard

Track your bids, spending, and ROI in one place

Daily Performance

Today Connect Used
0
of 50 available
Today Connect Remaining
50
Today’s limit
Today Bids Used
0
Today
Bids Remaining
2
Max bids from budget: 2
Available Connect (Daily Budget)
50

Monthly Investment Overview

Period: December 2025 (31 days)

Total Invest
$0.00
Available Balance
$0.00
Total Spend
$0.00
Average Spend
$0.00
Invest Connect
0
Available Connect
0
Spend Connect
0
Total Bid
0
Next Project Expenses
$0.00

Job & Profit Performance

πŸ’Ό Job Convert
0
Total jobs won
Total Earnings
$0.00
Total Profit
$0.00
Profit Multiple
0.00x
Profit Percentage
Return on investment
0.0%
Performance Insights
Hiring rate analysis by job quality
Hiring Chance Rate
Job Range Jobs Hire Rate
Window 0 jobs 0%
Rejected 0 jobs 0%
Convert 0 jobs 0%
Best Match Score Range
Score Range Jobs Hire Rate
No scored jobs found for this period.
Bids Overview
All jobs where you have placed bids
Date Job Title Price Status Actions
2025-12-12 Web Developer E-Commerce-focused (Full-time position) – $150 weekly $150.00 Not-hire
2025-12-12 WordPress Developer Needed – Simple Law Firm Website (SEO-Ready) $215.00 Not-hire
2025-12-09 WordPress Expert Needed for Website Builds with Elementor Pro $100.00 View
2025-12-08 WordPress developer for a simple site $200.00 Not-hire
2025-12-08 Build webshop whiot wordpress elementor and woocommerce $400.00 Not-hire
2025-12-07 WordPress Developer Needed to Fully Build and Launch Parenting Website $200.00 Not-hire
2025-12-07 design wordpress website using Elementor Pro $400.00 Not-hire
2025-12-06 WooCommerce Store – check question $300.00 Not-hire
2025-12-06 Figma to Elementor developer $50.00 Not-hire
2025-12-05 Convert Figma Wireframe to WordPress Elementor with Multilingual Headers $150.00 Not-hire
2025-12-04 Long-Term WordPress Assistant (Elementor Pro + Polylang) for Trilingual Expert Blog $100.00 View
2025-12-03 WordPress Site Management Expert Needed $100.00 Not-hire
2025-12-02 WordPress + Elementor Expert Needed to Redesign Property Developer Website $250.00 Not-hire
Converted Jobs β€” Cost & Profit Analysis
Shows convert cost, market fee and net profit for each convert job.
Date Job Title Price Convert Cost Market Fee (10%) Net Profit
No converted jobs found.
πŸ€–
πŸ€–
AI Business Consultant
Online
Hi πŸ‘‹ Ask me anything about profit, bidding, ROI or scaling.
now